-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
89 lines (78 loc) · 2.87 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
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "egenerator"
description = "Event-Generator reconstruction for IceCube"
readme = "README.md"
dynamic = ["version"]
authors = [
{ name = "Mirco Huennefeld", email = "[email protected]" },
]
maintainers = [
{ name = "Mirco Huennefeld", email = "[email protected]" },
]
requires-python = ">=3.7"
dependencies = [
'numpy', 'pandas', 'click', 'ruamel.yaml',
'gitpython', 'tfscripts', 'tqdm',
'scipy', 'healpy', 'pandas', 'tables',
'tensorflow', 'tensorflow_probability', 'tf-keras',
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Statistics",
]
[project.optional-dependencies]
dev = ["pre-commit","black","ruff"]
test = ["pytest", "coverage", "codecov"]
docs = ["sphinx", "sphinx-rtd-theme"]
icecube = [
"ic3_labels @ git+ssh://[email protected]/icecube/ic3-labels",
"ic3_processing @ git+ssh://[email protected]/mhuen/ic3-processing",
]
[project.urls]
Homepage = "https://github.com/icecube/event-generator"
Documentation = "https://icecube.wisc.edu/~mhuennefeld/docs/event_generator/html/index.html"
"Bug Tracker" = "https://github.com/icecube/event-generator/issues"
Discussions = "https://github.com/icecube/event-generator/discussions"
[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default, turn off via: namespaces = false
[tool.setuptools.dynamic]
version = {attr = "egenerator.__version__"}
[tool.black]
line-length = 79
# 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", "py312"]
[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
]
line-length = 79
target-version = "py38"
[tool.codespell]
ignore-words-list = "hese,mese,livetime"
[tool.ruff.lint.pydocstyle]
convention = "numpy"