-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.cfg
93 lines (81 loc) · 2.71 KB
/
setup.cfg
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
90
91
92
93
[metadata]
description_file = README.md
license_files =
LICENSE.md
[pycodestyle]
max-line-length = 97
statistics = True
ignore = E203, E301, E302, E305, E501, E701, W503
[flake8]
max-line-length = 97
extend-ignore = E203, E301, E302, E305
per-file-ignores =
*/randomgen/tests/data/stable_hashes.py: E501
*/randomgen/_seed_sequence.pyi: E301, E302
*/randomgen/aes.pyi: E301, E302
*/randomgen/chacha.pyi: E301, E302
*/randomgen/common.pyi: E301, E302
*/randomgen/dsfmt.pyi: E301, E302
*/randomgen/efiix64.pyi: E301, E302
*/randomgen/entropy.pyi: E301, E302
*/randomgen/generator.pyi: E301, E302
*/randomgen/hc128.pyi: E301, E302
*/randomgen/jsf.pyi: E301, E302
*/randomgen/lxm.pyi: E301, E302
*/randomgen/mt19937.pyi: E301, E302
*/randomgen/mt64.pyi: E301, E302
*/randomgen/mtrand.pyi: E301, E302
*/randomgen/pcg32.pyi: E301, E302
*/randomgen/pcg64.pyi: E301, E302
*/randomgen/philox.pyi: E301, E302
*/randomgen/rdrand.pyi: E301, E302
*/randomgen/romu.pyi: E301, E302
*/randomgen/sfc.pyi: E301, E302
*/randomgen/sfmt.pyi: E301, E302
*/randomgen/speck128.pyi: E301, E302
*/randomgen/tests/_shims.pyi: E301, E302
*/randomgen/threefry.pyi: E301, E302
*/randomgen/wrapper.pyi: E301, E302
*/randomgen/xoroshiro128.pyi: E301, E302
*/randomgen/xorshift1024.pyi: E301, E302
*/randomgen/xoshiro256.pyi: E301, E302
[isort]
sections=FUTURE,COMPAT,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party=randomgen
known_third_party=Cython,numpy,matplotlib,pandas,patsy,pytest,statsmodels,seaborn
combine_as_imports=True
skip_glob=**/**/*.in
known_compat=setuptools,setuptools.*
force_sort_within_sections=True
force_to_top=True
profile=black
[tool:pytest]
filterwarnings =
error:covariance is not positive-semidefinite:RuntimeWarning
ignore:Generator:FutureWarning
ignore:RandomState:FutureWarning
ignore:the imp module:DeprecationWarning
ignore:The default value of inc:FutureWarning
ignore:`np.long` is a deprecated:DeprecationWarning:numba.core.types
error:`np.bool` is a deprecated alias:DeprecationWarning:
error:Passing None into shape:DeprecationWarning:
error:overflow encountered in scalar negative:RuntimeWarning
error:mode is deprecated and will be removed:FutureWarning
[tool.ruff.lint]
select = ["NPY201"]
typing-modules = ["lib"]
[mypy]
strict_equality=True
disallow_untyped_defs=True
disallow_incomplete_defs=True
ignore_missing_imports = True
[mypy-randomgen.conftest]
check_untyped_defs=False
disallow_untyped_defs=False
[mypy-randomgen._version]
check_untyped_defs=False
disallow_untyped_defs=False
[mypy-randomgen.tests.*]
check_untyped_defs=False
disallow_untyped_defs=False
disallow_incomplete_defs=False