-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
87 lines (78 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=64",
"setuptools-scm>=7",
]
[project]
name = "CHSPy"
dynamic = ["version"]
description = "Cubic Hermite splines"
readme = "README.md"
license = { text = "BSD-3-Clause" }
authors = [
{ name = "Gerrit Ansmann", email = "[email protected]" },
]
requires-python = ">=3.6"
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
]
[project.optional-dependencies]
test = [
"symengine"
]
[project.urls]
Documentation = "https://chspy.readthedocs.io"
Homepage = "https://github.com/neurophysik/CHSPy"
[tool.setuptools.packages.find]
include = [
"chspy*",
]
[tool.setuptools_scm]
write_to = "chspy/version.py"
[tool.ruff]
target-version = "py37"
line-length = 320
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # flake8
"F", # flake8
"I", # flake8-isort
"NPY", # numpy
"Q", # flake8-quotes
"RUF", # ruff
"UP", # pyupgrade
"W", # flake8
]
ignore = [
"A001", # shadowing-builtin-variable
"A005", # shadowing-builtin-module
"C409", # incorrectly-parenthesized-tuple-in-subscript
"E203", # whitespace-before-punctuation
"E402", # module-import-not-at-top-of-file
"E501", # line-too-long
"E731", # assign-to-lambda
"RUF001", # ambiguous-unicode-character-string
"RUF002", # ambiguous-unicode-character-docstring
"W191", # indentation-contains-tabs
"W293", # blank-line-with-whitespace
]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"
[tool.ruff.lint.isort]
combine-as-imports = true
known-local-folder = [ "CHSPy" ]
lines-after-imports = 2