-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (70 loc) · 1.64 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
# pyproject.toml
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
# project metadata
[project]
name = "ppmpy"
description = "A PPM hydrodynamics solver written in python"
readme = "README.md"
license.text = "BSD"
authors = [
{name="Michael Zingale"},
{email="[email protected]"},
]
dynamic = ["version"]
dependencies = [
"numpy",
"scipy",
"matplotlib",
]
[project.urls]
Homepage = "https://github.com/python-hydro/ppmpy"
# packaging
[tool.setuptools]
zip-safe = false
# we explicitly list the data we want below
include-package-data = false
[tool.setuptools.packages.find]
include = ["ppmpy*"]
exclude = ["*.tests*"]
namespaces = false
[tool.setuptools_scm]
version_scheme = "post-release"
version_file = "ppmpy/_version.py"
# development tools
[tool.pylint.MAIN]
ignore-patterns = "flycheck*,_version.py"
[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-locals",
"too-few-public-methods",
"invalid-name",
]
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.pylint.TYPECHECK]
generated-members = ["viridis", "bwr"]
# see https://github.com/PyCQA/pylint/issues/2289 for the generated-members
[tool.codespell]
skip = ".git"