-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
43 lines (38 loc) · 896 Bytes
/
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
[tool.coverage.report]
omit = ["*/migrations/*"]
[tool.coverage.run]
branch = true
include = ["pepysdiary/*"]
omit = ["*/migrations/*.py"]
[tool.ruff]
extend-exclude = [
"*/migrations/*",
]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
ignore = []
select = [
# Reference: https://docs.astral.sh/ruff/rules/
"B", # flake8-bugbear
"E", # pycodestyle
"F", # Pyflakes
"G", # flake8-logging-format
"I", # isort
"N", # pip8-naming
"Q", # flake8-quotes
"BLE", # flake8-blind-except
"DJ", # flake8-django
"DTZ", # flake8-datetimez
"EM", # flake8-errmsg
"INP", # flake8-no-pep420
"FBT", # flake8-boolean-trap
"PIE", # flake8-pie
"RSE", # flake-raise
"SIM", # flake8-simplify
"T20", # flake8-print
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"RUF100", # unused-noqa
"RUF200", # invalid-pyproject-toml
]