-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
81 lines (71 loc) · 2.69 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["setuptools>=44.0"] # Note: unfortunately need python >=2.7
build-backend = "setuptools.build_meta"
[project]
name = "ic3_labels"
description = "MC weights and labels for IceCube simulation data"
readme = "README.md"
dynamic = ["version"]
authors = [
{ name = "Mirco Huennefeld", email = "[email protected]" },
]
maintainers = [
{ name = "Mirco Huennefeld", email = "[email protected]" },
]
requires-python = ">=2.7" # Note: unfortunately need python >=2.7
dependencies = [
'numpy', 'click', 'pyyaml', 'scipy', 'MCEq', 'crflux',
'nuVeto', 'simweights',
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Statistics",
]
[project.optional-dependencies]
dev = ["pre-commit","black","ruff"]
test = ["pytest", "coverage", "codecov"]
[project.urls]
Homepage = "https://github.com/icecube/ic3-labels"
Documentation = "https://github.com/icecube/ic3-labels"
"Bug Tracker" = "https://github.com/icecube/ic3-labels/issues"
Discussions = "https://github.com/icecube/ic3-labels/discussions"
[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default, turn off via: namespaces = false
[tool.setuptools.dynamic]
version = {attr = "ic3_labels.__version__"}
[tool.black]
line-length = 79
# technically, black does not support python2.
# This is all python versions black knows of and gets
# rid of the trailing comma bug
target-version = ["py33", "py34", "py35", "py36", "py37", "py38", "py39", "py310", "py311"]
[tool.ruff]
# select = ["ALL"]
lint.fixable = ["I"]
lint.ignore = [
"D213", # multi-line-summary-second-line incompatible with multi-line-summary-first-line
"D203", # one-blank-line-before-class" incompatible with no-blank-line-before-class
"D401", # non-imperative-mood
"D417", # undocumented-param
"ANN101", # missing-type-self
"ANN401", # any-type
"FBT", # flake8-boolean-trap
"INP", # flake8-no-pep420
"T20", # flake8-print
"TCH", # flake8-type-checking
"S101", # assert-used
"COM812", # trailing comma to not insert after **kwargs, which is a syntax error prior to py3.6
"F401", # imported but unused. NOTE: sooner or later, we should not ignore this
]
line-length = 79
target-version = "py38"
[tool.ruff.lint.pydocstyle]
convention = "numpy"