-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (59 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
72 lines (59 loc) · 1.53 KB
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
66
67
68
69
70
71
72
[project]
name = "froide-pressconference"
version = "0.0.1"
requires-python = ">=3.12"
dependencies = [
"django<6",
"django-cms",
"lxml>=6.0.0",
"pydoll-python>=2.20.1",
"pyparsing[diagrams]>=3.3.2",
"python-slugify>=8.0.4",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["froide_pressconference*"]
[tool.ruff]
exclude = ["migrations", "build", "node_modules"]
[tool.ruff.lint]
ignore = ["E501", "C901"]
select = ["C", "E", "F", "W", "B", "I001"]
[tool.ruff.lint.pycodestyle]
max-line-length = 88
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder",
]
default-section = "third-party"
known-first-party = ["froide"]
[tool.ruff.lint.isort.sections]
django = ["django"]
[tool.coverage.run]
source = ["froide_pressconference"]
omit = ["*/migrations/*", "*/tests/*"]
plugins = ["django_coverage_plugin"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = ["pragma: no cover"]
[tool.djlint]
ignore = "T002,T003,H005,H006,H021,H023,H029,H030,H031"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "froide_pressconference.settings"
# addopts = ["--reuse-db"]
filterwarnings = [
"ignore::DeprecationWarning:(?!froide_pressconference).*",
"ignore::PendingDeprecationWarning:(?!froide_pressconference)*",
]
[dependency-groups]
dev = ["ipdb>=0.13.13", "pytest>=9.0.2"]