forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
71 lines (62 loc) · 1.81 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
[pycodestyle]
ignore = W503
max-line-length = 95
[flake8]
ignore = F405 D999 W503 RST306 RST902
select = A B C D E F H I M Q RST S T W B902
max-line-length = 95
exclude = metpy/_version.py
application-import-names = metpy
import-order-style = google
copyright-check = True
copyright-author = MetPy Developers
inline-quotes = single
multiline-quotes = double
rst-roles = class, data, func, meth, mod
rst-directives = plot
docstring-convention = numpy
[tool:pytest]
# https://github.com/matplotlib/pytest-mpl/issues/69
markers = mpl_image_compare
norecursedirs = build docs .idea
flake8-ignore = *.py F405 W503 RST902
examples/*.py D T003 T001
tutorials/*.py D T003 T001
versioneer.py ALL
deprecation.py C801
metpy/calc/__init__.py D999
metpy/calc/*.py RST306
metpy/interpolate/__init__.py D999
metpy/interpolate/*.py RST306
metpy/io/__init__.py D999
metpy/plots/__init__.py D999
flake8-max-line-length = 95
doctest_optionflags = NORMALIZE_WHITESPACE
mpl-results-path = test_output
log_print = False
[doc8]
ignore-path = docs/build,docs/api/generated,docs/_templates,docs/tutorials,docs/examples
file-encoding = utf8
max-line-length = 95
[pydocstyle]
match = (?!(test_|versioneer|setup|_version)).*\.py
match-dir = (?!(build|docs|examples|tutorials|_nexrad_msgs))[^.].*
convention = numpy
[metadata]
description-file = README.rst
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and 3.
universal=1
[build_sphinx]
source-dir = docs/source
build-dir = docs/build
all-files = True
[versioneer]
VCS = git
style = pep440
versionfile_source = metpy/_version.py
versionfile_build = metpy/_version.py
tag_prefix = v
parentdir_prefix = metpy-
[aliases]
test = pytest