-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (89 loc) · 2 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# pyproject.toml
[build-system]
requires = [
"setuptools>=64",
"setuptools-scm>=8"
]
build-backend = "setuptools.build_meta"
# project metadata
[project]
name = "NeutrinoFlux"
version = "2.0.0"
authors = [
{ name="Sam Glosser" },
]
description = "Computes neutrino event rates in IceCube."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
dependencies = [
"MCEq",
"numpy",
"pint",
"scipy"
]
keywords = [
"IceCube"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/SamG-01/NeutrinoFlux"
Issues = "https://github.com/SamG-01/NeutrinoFlux/issues"
# packaging
[tool.setuptools]
zip-safe = false
# we explicitly list the data we want below
include-package-data = false
[tool.setuptools.packages.find]
include = ["neutrinoflux*"]
exclude = ["*.tests*"]
namespaces = false
[tool.setuptools.package-data]
# additional files to include when building a wheel
neutrinoflux = [
"data/*"
]
[tool.setuptools_scm]
version_scheme = "post-release"
version_file = "src/neutrinoflux/_version.py"
# development tools
[tool.pylint."MESSAGES CONTROL"]
disable = [
"unspecified-encoding",
"line-too-long",
"wrong-import-order",
"too-many-branches",
"too-many-lines",
"too-many-statements",
"too-many-instance-attributes",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-locals",
"too-few-public-methods",
"invalid-name",
"consider-using-f-string",
"consider-using-with",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
]
enable = ["useless-suppression"]
[tool.pylint.CLASSES]
defining-attr-methods = [
"__init__",
"__new__",
"setUp",
"asyncSetUp",
"__post_init__",
"setup_class", "setup_method", # for tests
]
[tool.pylint.FORMAT]
max-line-length = 132
[tool.pylint.SIMILARITIES]
min-similarity-lines = 10
[tool.isort]
known_first_party = ["neutrinoflux"]