-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
68 lines (64 loc) · 1.26 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
[project]
name = "techcity"
version = "2024.09"
requires-python = ">=3.12"
dependencies = [
"django-debug-toolbar>=4.4.6",
"django-prose-editor>=0.9.0",
"django>=5.1.1",
"environs>=11.0.0",
"gunicorn>=23.0.0",
"huey>=2.5.2",
"icalendar>=6.0.1",
"requests>=2.32.3",
"sentry-sdk[django]>=2.17.0",
"sqids>=0.5.0",
"stamina>=24.3.0",
"whitenoise[brotli]>=6.7.0",
]
[tool.uv]
dev-dependencies = [
"honcho>=1.1.0",
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
# setuptools is needed because of a bug in honcho with Python 3.12.
# See https://github.com/nickstenning/honcho/issues/247 for details.
"setuptools>=75.1.0",
"pytest-django>=4.9.0",
"factory-boy>=3.3.1",
"pre-commit>=4.0.1",
]
[tool.coverage.report]
show_missing = true
skip_covered = true
omit = [
"*/migrations/*",
]
[tool.pytest.ini_options]
addopts = "--nomigrations"
DJANGO_SETTINGS_MODULE = "project.testing_settings"
testpaths = [
"techcity",
]
[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",
]