-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
33 lines (30 loc) · 976 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
[flake8]
ignore = C901,W503
exclude = */migrations/*,*/node_modules/*
max-line-length = 120
[isort]
known_first_party=tnaomegauiprototypes
known_django=django
known_wagtail=wagtail,modelcluster
skip=migrations,node_modules,venv,.git,__pycache__
# While not supported, blocked_extensions shortcuts further filesystem operations
# See https://pycqa.github.io/isort/docs/configuration/options/#blocked-extensions
blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap,tsx
sections=STDLIB,DJANGO,WAGTAIL,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section=THIRDPARTY
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
known_third_party = bs4,dj_database_url,django,factory,faker,gunicorn,invoke,modelcluster,pattern_library,sentry_sdk,taggit,wagtail,wagtail_factories,wagtailcaptcha
profile=black
[coverage:run]
source = .
omit =
manage.py
*venv/*
*node_modules*
*migrations*
[coverage:report]
show_missing = True