-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
81 lines (73 loc) · 1.57 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[project]
name = "pilot_log"
description = "Simple Django pilot log webapp"
readme = "README.md"
authors = [
]
repository = "https://github.com/zyv/pilot_log"
keywords = ["aviation", "python", "django"]
license = "MIT"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"django",
"django-countries",
"django-bootstrap5",
"django-colorfield",
"python-dateutil",
"skyfield",
"timezonefinder",
"playwright",
"fontawesomefree>=6",
"httpx",
]
[dependency-groups]
dev = [
"django-debug-toolbar",
"pytest-django",
"pytest-cov",
"respx",
"ruff",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings"
[tool.coverage.run]
branch = true
source = ["."]
omit = [
"**/tests/**",
"*/migrations/*",
"*/test_*.py",
"manage.py"
]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = [
"C4", # flake8-comprehensions
"COM", # flake8-commas
"DTZ", # flake8-datetimez
"E", # pycodestyle Error
"F", # Pyflakes
"I", # isort
"LOG", # flake8-logging
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # ruff-specific rules
"T10", # flake8-debugger
"T20", # flake8-print
"UP", # pyupgrade
"W", # pycodestyle Warning
]
ignore = [
"COM812", # comma consistency enforced by formatter
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"**/migrations/**.py" = ["RUF012"]