forked from cfpb/consumerfinance.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (63 loc) · 1.07 KB
/
pyproject.toml
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
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
(
/(
migrations
)/
)
'''
[tool.isort]
profile = "black"
line_length = 79
lines_after_imports = 2
skip = ["f", ".tox", "migrations", ".venv", "venv"]
known_django = ["django"]
known_wagtail = ["wagtail", "wagtailsharing"]
known_first_party = [
"agreements",
"alerts",
"ask_cfpb",
"cfgov",
"core",
"data_research",
"deployable_zipfile",
"diversity_inclusion",
"form_explainer",
"hmda",
"housing_counselor",
"jobmanager",
"legacy",
"mega_menu",
"paying_for_college",
"permissions_viewer",
"prepaid_agreements",
"regulations3k",
"scripts",
"search",
"teachers_digital_platform",
"v1",
"wellbeing",
"youth_employment",
]
default_section = "THIRDPARTY"
sections = [
"STDLIB",
"DJANGO",
"WAGTAIL",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER"
]
[tool.bandit]
exclude_dirs = [
"*/tests/*",
"settings/local.py",
"settings/test.py",
]
skips = [
"B308",
"B703",
]