-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.cfg
48 lines (41 loc) · 1.38 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
[coverage:run]
omit =
# omit anything in a .venv directory anywhere
*/.venv/*
*/tests/*
*/test/*
*unbound*
*vendor*
*migrations*
# Also make sure every branch is checked, which lowers the score but increases coverage when done right
branch = True
[coverage:report]
# Skip everything that is already 100% covered
skip_covered = True
skip_empty = True
show_missing = True
[tool:pytest]
# the following is needed because of https://github.com/ClearcodeHQ/pytest-redis/issues/310
addopts = --basetemp=/tmp/pytest
# redis_exec = redis-server
# Speed up finding tests
norecursedirs = *venv* *.venv* *.pytest_cache* *documentation* *unbound* *.venv*
filterwarnings =
ignore::DeprecationWarning:aiofiles.*:
ignore::DeprecationWarning:.*
# ignore:.*Django now detects this configuration.*:django.utils.deprecation.RemovedInDjango41Warning
[pep8]
max-line-length=120
[pylama:pycodestyle]
max_line_length = 120
[pylama]
# temporary ignore these errors/warnings since pylama update (10-04-2018)
# until autopep8 is able to fix these automatically
# https://github.com/hhatto/autopep8/commit/eeb0ec07c274db82a19fc2f95f5053407f2ad47d
# https://github.com/hhatto/autopep8/issues/372
# E203 black does [1 : 2] and pylama wants: [1:2]
ignore=E252,W605,E203
skip = websecmap/*/migrations/*.py
linters = pycodestyle,pyflakes
[setuptools_scm]
version_scheme = release_branch_semver