-
Notifications
You must be signed in to change notification settings - Fork 88
/
pyproject.toml
68 lines (56 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
# This file is part of pyunicorn.
# Copyright (C) 2008--2024 Jonathan F. Donges and pyunicorn authors
# URL: <https://www.pik-potsdam.de/members/donges/software-2/software>
# License: BSD (3-clause)
# package ======================================================================
[build-system]
requires = [
"setuptools>=65",
"wheel",
"Cython>=3.0",
"numpy>=1.24"
]
build-backend = "setuptools.build_meta"
# unit tests ===================================================================
[tool.pytest.ini_options]
minversion = 7.3
addopts = "-v -r a -n auto"
testpaths = ["tests"]
python_files = ["test*.py", "Test*.py"]
norecursedirs = [".git", ".cache", ".tox", ".ropeproject", "build"]
filterwarnings = [
"ignore:datetime.datetime.utcfromtimestamp():DeprecationWarning:dateutil|tqdm",
]
[tool.coverage.run]
parallel = true
concurrency = ["multiprocessing"]
source = ["src/pyunicorn"]
# static analysis ==============================================================
[tool.pylint.main]
ignore = [
".cache", "__pycache__", ".pytest_cache", ".tox", ".venv", ".ropeproject",
"build", "mpi.py"
]
ignore-patterns = ["navigator", "numerics"]
persistent = false
jobs = 0
[tool.pylint."messages control"]
disable = [
"duplicate-code", "invalid-name", "fixme",
"missing-docstring", "no-else-return",
"arguments-differ", "no-name-in-module"
]
[tool.pylint.format]
max-line-length = 79
max-module-lines = 6000
[tool.pylint.refactoring]
max-nested-blocks = 6
[tool.pylint.design]
max-args = 12
max-locals = 95
max-branches = 50
max-statements = 230
max-attributes = 23
max-public-methods = 120
[tool.pylint.reports]
output-format = "colorized"