-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
45 lines (39 loc) · 900 Bytes
/
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
[versioneer]
VCS = git
style = pep440
versionfile_source = hillshade/_version.py
versionfile_build = hillshade/_version.py
tag_prefix = v
[flake8]
exclude = _version.py, versioneer.py, tests/*
ignore =
# Lines starting with binary operators
W503,
# Module-level imports not at top of file
E402
max-line-length = 100
[tool:pytest]
addopts =
--mypy
--flake8
--cov=hillshade
-W error
-v
filterwarnings =
error
# ignored by default
ignore::ImportWarning
ignore::PendingDeprecationWarning
# raised by Cython, usually harmless
ignore:numpy.dtype size changed:RuntimeWarning
ignore:numpy.ufunc size changed:RuntimeWarning
# raised by Werkzeug
ignore:Request.is_xhr is deprecated:DeprecationWarning
[mypy]
ignore_missing_imports = True
[mypy-tests.*]
ignore_errors = True
[mypy-versioneer]
ignore_errors = True
[mypy-hillshade._version]
ignore_errors = True