-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.cfg
120 lines (108 loc) · 2.33 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
120
[metadata]
name = rmnest
version = 0.3.1
author = Marcus Lower
author_email = marcus.lower@csiro.au
url = https://github.com/mlower/rmnest
description = Faraday rotation measurement for pulsars and FRBs
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
classifiers =
Operating System :: OS Independent
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Astronomy
[options]
zip_safe = false
include_package_data = false
packages = find:
python_requires = >=3.7
install_requires =
future
numpy
scipy
matplotlib
bilby
uncertainties
importlib_metadata
[options.entry_points]
console_scripts =
rmnest = rmnest.app:main
[options.extras_require]
tests =
pytest
pytest-cov
[flake8]
ignore =
# Default ignore
BLK100,
# Line break
W503,
# print
T001,
# Isort
I,
# Trailing commas
C81,
# Quotes
Q0,
# Docs
D, RST210,
# WPS
WPS100, WPS110, WPS114,
WPS210, WPS220, WPS237,
WPS305, WPS306, WPS317, WPS323, WPS326, WPS352, WPS358, WPS362,
WPS410, WPS412, WPS421, WPS432
WPS600, WPS601, WPS602,
# bandit
S101, S105, S404, S602, S607,
# whitespace before colon
E203
exclude = .git, .eggs, __pycache__, docs/, old/, build/, dist/
max-imports = 20
max-methods = 30
max-attributes = 30
max-arguments = 20
max-complexity = 10
max-expressions = 20
max-string-usages = 20
max-cognitive-score = 20
max-line-complexity = 40
max-module-members = 20
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
[tool:pytest]
minversion = 6
testpaths = tests
[coverage:run]
omit =
*setup.py
*__init__.py
*tests*
*docs*
[coverage:report]
show_missing = True
ignore_errors = True
#fail_under = 85
exclude_lines =
raise AssertionError
raise NotImplementedError
[coverage:paths]
source = ./
[mypy]
ignore_missing_imports = True