Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [tool.poetry]
2 name = "csaps"
3 version = "1.3.3"
4 description = "Cubic spline approximation (smoothing)"
5 authors = ["Evgeny Prilepin <[email protected]>"]
6 license = "MIT"
7 readme = "README.md"
8
9 homepage = "https://github.com/espdev/csaps"
10 repository = "https://github.com/espdev/csaps"
11 documentation = "https://csaps.readthedocs.io"
12
13 keywords = ["cubic", "spline", "approximation", "smoothing", "interpolation", "csaps"]
14
15 classifiers = [
16 "Development Status :: 5 - Production/Stable",
17 "Intended Audience :: Developers",
18 "Intended Audience :: Science/Research",
19 "Topic :: Scientific/Engineering",
20 "Topic :: Scientific/Engineering :: Mathematics",
21 "Topic :: Software Development :: Libraries",
22 "License :: OSI Approved :: MIT License",
23 "Programming Language :: Python",
24 "Programming Language :: Python :: 3 :: Only",
25 "Programming Language :: Python :: 3",
26 "Programming Language :: Python :: 3.10",
27 "Programming Language :: Python :: 3.11",
28 "Programming Language :: Python :: 3.12",
29 "Programming Language :: Python :: 3.13",
30 "Programming Language :: Python :: Implementation :: CPython",
31 ]
32
33 include = [
34 "LICENSE",
35 "CHANGELOG.md",
36 "CONTRIBUTORS.txt",
37 ]
38
39 packages = [
40 {include = "csaps"}
41 ]
42
43
44 [tool.poetry.dependencies]
45 python = ">=3.10"
46 typing-extensions = "*"
47 numpy = [
48 {version = "*", python = "<3.12"},
49 {version = ">=1.26.2", python = ">=3.12"},
50 ]
51 scipy = [
52 {version = "*", python = "<3.12"},
53 {version = ">=1.11.4", python = ">=3.12"},
54 ]
55
56
57 [tool.poetry.group.dev.dependencies]
58 setuptools = "^78.1.0"
59 pytest = "^8.3.5"
60 pytest-cov = "^6.1.1"
61 ruff = "^0.11.5"
62 mypy = "^1.15.0"
63 scipy-stubs = "*"
64 pre-commit = "^4.2.0"
65 poethepoet = "^0.33.1"
66
67
68 [tool.poetry.group.docs.dependencies]
69 sphinx = "^7.1.2"
70 docutils = "^0.20.0"
71 furo = "^2024.8.6"
72 numpydoc = "^1.6.0"
73 m2r2 = "^0.3.2"
74 matplotlib = "^3.7.4"
75
76
77 [build-system]
78 requires = ["poetry-core", "setuptools"]
79 build-backend = "poetry.core.masonry.api"
80
81
82 [tool.ruff]
83 target-version = "py310"
84 line-length = 120
85 exclude = [
86 ".ruff_cache",
87 ".venv",
88 ]
89
90 [tool.ruff.lint]
91 select = [
92 "E", # All pycodestyle errors
93 "W", # All pycodestyle warnings
94 "F", # All Pyflakes errors
95 "A", # All flake8-builtins
96 "Q", # Quotes
97 "I", # Sort imports
98 "T201", # print found
99 "T203", # pprint found
100 ]
101 ignore = []
102
103 [tool.ruff.lint.flake8-quotes]
104 docstring-quotes = "double"
105 inline-quotes = "single"
106
107 [tool.ruff.lint.isort]
108 force-to-top = ["typing", "typing_extensions", "pytest"]
109 force-sort-within-sections = true
110
111 [tool.ruff.format]
112 quote-style = "single"
113
114
115 [tool.mypy]
116 python_version = "3.10"
117
118
119 [tool.poe.tasks]
120 test = "pytest -v "
121 test-cov = "pytest --cov=csaps"
122 test-ci = "pytest -v --color=yes --cov=csaps --cov-report=term --cov-report=lcov:coverage.info"
123
124 check-format-pre-commit = "ruff format --check"
125 check-lint-pre-commit = "ruff check"
126 check-types-pre-commit = "mypy"
127
128 check-format = "ruff format . --check"
129 check-lint = "ruff check ."
130 check-types = "mypy -p csaps"
131 check = ["check-format", "check-lint", "check-types"]
132
133 fix-format = "ruff format ."
134 fix-lint = "ruff check --fix ."
135 fix = ["fix-format", "fix-lint"]
136
137 docs = "sphinx-build docs/ docs/_build/ --builder html"