-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (50 loc) · 1.11 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
[tool.coverage.run]
source = [
".",
]
omit = [
"*/node_modules/*",
]
[tool.coverage.report]
# make this higher ?
fail_under = 60
show_missing = true
skip_covered = true
[tool.flake8]
exclude = [
'__pycache__',
'docker/*',
'locale/*',
'media/*',
'static/*',
'staticfiles/*',
'templates/*',
]
ignore =[
'E128', # visual indents
'E2', # whitespaces
'E3', # blank lines
'E701', # multiple statements on a colon line (cleaner single line if branching)
'E704', # multiple statements on a colon line
'W293', # blank lint contains whitespace
'W504', # line break after binary operator
'W291', # trailing whitespaces
'W503', # bad practice: PEP 8 recommended style, which was changed on April 16th, 2016
]
max-line-length = 120
show-source = true
builtins = 'self'
count = true
statistics = true
[tool.pyright]
include = ["."]
exclude = ["**/node_modules",
"**/__pycache__",
"staticfiles/*",
"static/*"
]
defineConstant = { DEBUG = true }
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
# pythonPlatform = "Linux"