-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
54 lines (51 loc) · 1.37 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
[pycodestyle]
[pep8]
[flake8]
ignore=
# Formatting rules incompatible with black
W293,W291,E501,E261,W503
max-line-length=88
exclude=migrations,static,media
per-file-ignores =
# Config uses layered wildcard imports
src/woo_publications/conf/*:F405
[isort]
combine_as_imports = true
default_section = THIRDPARTY
include_trailing_comma = true
line_length = 88
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
skip = env,node_modules
skip_glob = **/migrations/**
known_django=django
known_first_party=woo_publications
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[coverage:run]
branch = True
source = src
omit =
src/manage.py
src/woo_publications/wsgi.py
src/woo_publications/conf/dev.py
src/woo_publications/conf/local_example.py
src/woo_publications/conf/production.py
src/woo_publications/conf/staging.py
src/woo_publications/conf/docker.py
src/woo_publications/conf/ci.py
src/woo_publications/conf/local.py
*/migrations/*
*/tests/*
src/woo_publications/utils/management/commands/clear_cache.py
src/woo_publications/utils/migration_operations.py
[coverage:report]
skip_covered = True
exclude_also =
if (typing\.)?TYPE_CHECKING:
@(typing\.)?overload
class .*\(.*Protocol.*\):
@(abc\.)?abstractmethod
raise NotImplementedError
\.\.\.