-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.cfg
119 lines (112 loc) · 2.52 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[metadata]
name = sigpyproc
version = 1.1.0
author = Ewan Barr
author_email = [email protected]
maintainer = Pravir Kumar
maintainer_email = [email protected]
url = https://github.com/FRBs/sigpyproc3
description = Python FRB/pulsar data toolbox
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Astronomy
[options]
zip_safe = false
include_package_data = false
packages = find:
python_requires = >=3.7
install_requires =
numpy>=1.20
numba
astropy>=4.0
h5py
scipy
bottleneck
attrs
click
rich
bidict
iqrm
importlib-metadata >= 1.0; python_version < "3.8"
[options.entry_points]
console_scripts =
spp_header = sigpyproc.apps.spp_header:main
spp_decimate = sigpyproc.apps.spp_decimate:main
spp_extract = sigpyproc.apps.spp_extract:main
spp_clean = sigpyproc.apps.spp_clean:main
[options.extras_require]
tests =
pytest
pytest-cov
pytest-randomly
pytest-sugar
pytest-benchmark
docs =
sphinx>=4.4.0
sphinx-book-theme>=0.2.0
myst-nb
sphinx-click
develop =
wemake-python-styleguide
black
mypy
[flake8]
ignore =
# Default ignore
BLK100,
# Line break
W503,
# Isort
I,
# Docs
D10, D401
# Trailing commas
C81,
# Quotes
Q0,
# WPS
WPS100, WPS110, WPS114
WPS210, WPS216, WPS220, WPS237,
WPS305, WPS323, WPS338, WPS339, WPS345, WPS352, WPS362
WPS420, WPS432, WPS440, WPS441,
WPS519,
WPS602,
# bandit
S101, S105, S404, S602, S607,
# whitespace before colon
E203
# Numpy style RST
RST210
exclude = .git, .eggs, __pycache__, docs/, old/, build/, dist/
i-control-code = False
max-asserts = 10
max-imports = 20
max-methods = 35
max-attributes = 30
max-arguments = 20
max-complexity = 10
max-expressions = 20
max-string-usages = 50
max-cognitive-score = 20
max-line-complexity = 40
max-module-members = 50
max-module-expressions = 20
max-function-expressions = 10
max-local-variables = 10
max-line-length = 127
rst-roles =
attr,class,func,meth,mod,obj,ref,term,
# C programming language:
c:member,
# Python programming language:
py:func,py:mod,py:obj
[darglint]
docstring_style=numpy
ignore=DAR402,DAR103,DAR201,DAR101