-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
189 lines (171 loc) · 4.22 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[metadata]
name = metapandas
author = Liam Deacon
author-email = [email protected]
summary = Augemented pandas for tracking JSON metadata
license = MIT
license_files = LICENSE
description-file =
README.md
home-page = https://github.com/LightBytes/metapandas
requires-python = >=3.5
publisher = Light Bytes Technology Ltd.
classifier =
Development Status :: 4 - Beta
Topic :: Utilities
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Operating System :: POSIX :: Linux
Operating System :: Unix
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Libraries :: Python Modules
Intended Audience :: Science/Research
Intended Audience :: Developers
[bdist_wheel]
universal = 1
[options.packages.find]
exclude =
docs
test
[cython-defaults]
include_dirs =
include/
eval(__import__('numpy').get_include())
language_level=3
[extras]
all=
geopandas
[aliases]
test=pytest
install_all=build_static install
[tool:pytest]
addopts =
--verbose
--cov=metapandas/
--cov-branch
--cov-report=xml
--cov-report=html
--cov-report=term
--doctest-modules
console_output_style=progress
testpaths = test
python_files = [Ttest]*.py
[coverage:report]
omit=
[prospector]
with-tool=
mypy
pyroma
[pycodestyle]
max-line-length=120
ignore=E402,W504
[pydocstyle]
# ignore=D401,D404
convention=numpy
[yapf]
based_on_style = google
spaces_before_comment = 2
split_before_logical_operator = false
[check-manifest]
ignore = azure-pipelines.yaml,test
verbose = true
[bandit]
exclude = test,tests,doc,dist
exclude_dirs = test,tests,doc,dist
level = LOW
confidence = HIGH
ignore-nosec = true
verbose = true
[build_sphinx]
source_dir = docs
build_dir = build/sphinx
[pylint]
confidence=
load-plugins=pylint.extensions.docparams
ignore=migrations
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
indent-string=' '
max-line-length=120
max-module-lines=1000
ignore-comments=yes
ignore-docstrings=yes
ignore-imports=no
min-similarity-lines=4
good-names=i,j,k,ex,Run,_
bad-names=foo,bar,baz,toto,tutu,tata
include-naming-hint=yes
max-args=5
max-locals=15
max-attributes=7
max-bool-expr=5
max-branches=12
max-parents=7
max-public-methods=20
max-returns=6
max-statements=50
min-public-methods=2
overgeneral-exceptions=Exception
argument-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
argument-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
attr-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
attr-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
class-name-hint=[A-Z_][a-zA-Z0-9]+$
class-rgx=[A-Z_][a-zA-Z0-9]+$
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
docstring-min-length=-1
function-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
method-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
method-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
name-group=
no-docstring-rgx=^_
property-classes=abc.abstractproperty
variable-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
variable-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
[mypy]
ignore_missing_imports=1
check_untyped_defs=1
warn_incomplete_stub=1
strict_optional=0
warn_redundant_casts=1
warn_return_any=1
warn_unused_ignores=1
show_error_context=1
html_report=.mypy-report
linecoverage_report=.mypy-report
xml_report=.mypy-report
show_traceback=1
namespace_packages=1
warn_unreachable=1
[flake8]
max-line-length=120
max-complexity=10
exclude=
build
dist
doc/conf.py
docs/conf.py
tests
*.egg-info
.tox
.eggs
[nosetests]
with-doctest=1
doctest-extension=.rst
doctest-fixtures=_fixtures
verbosity=2
ignore-files=
exe=True