-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
54 lines (50 loc) · 1.13 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
[project]
requires-python = ">=3.12"
[tool.coverage.report]
fail_under = 100
omit = [
"*/migrations/*",
]
show_missing = true
skip_covered = true
# I should replace this with ruff exclusively after updating my Neovim config.
[tool.isort]
profile = "black"
src_paths = ["journal"]
[tool.pytest.ini_options]
addopts = "--nomigrations --disable-socket"
DJANGO_SETTINGS_MODULE = "project.testing_settings"
filterwarnings = [
# Enable warnings as errors.
"error",
# This warning is coming from dj-stripe 2.8.3.
"ignore:.*The default scheme will be changed.*:PendingDeprecationWarning",
]
# This warning is coming from dj-stripe 2.5.1 (Example)
# ignore:.*The providing_args argument is deprecated\..*:DeprecationWarning
# ignore:.*The providing_args argument is deprecated\..*:PendingDeprecationWarning
testpaths = [
"journal",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bandit
"S",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# bandit: Use of `assert` detected
"S101",
]