File: pyproject.toml

package info (click to toggle)
basemap 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 213,536 kB
  • sloc: python: 11,826; sh: 45; makefile: 41
file content (42 lines) | stat: -rw-r--r-- 937 bytes parent folder | download
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
[build-system]
requires = [
    "setuptools >= 67.0, < 81.0",
    "wheel >= 0.40, < 0.46",
    "cython >= 3.0, < 3.2",
    "numpy == 2.1.0; python_version == '3.13'",
    "numpy == 2.0.0; python_version <= '3.12'",
]
build-backend = "setuptools.build_meta"

[tool.flake8]
ignore = [
    "E301",  # expected-blank-line-missing
    "E306",  # no-blank-line-before-nested-def
    "E402",  # module-import-not-at-top-file
    "E501",  # line-too-long
    "E731",  # used-lambda
    "F401",  # unused-import
    "F403",  # wildcard-import
    "W503",  # line-break-before-binary-operator
    "W504",  # line-break-after-binary-operator
]

[tool.pytest.ini_options]
filterwarnings = [
    "error",
]

[tool.coverage.paths]
source = [
    "src",
    "*/site-packages",
]

[tool.coverage.report]
exclude_also = [
    "pragma: no cover",
    "def __repr__",
    "def __str__",
    "raise NotImplementedError",
    "if __name__ == .__main__.:",
]