-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1.33 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "infokala"
dynamic = ["version"]
requires-python = ">=3.9"
description = "Info log management system for Desucon and Tracon"
readme = "README.md"
license = ""
authors = [
{ name = "Santtu Pajukanta", email = "[email protected]" },
]
dependencies = [
"Django>=4.1",
"python-dateutil>=2.6",
"tzlocal>=5.0",
]
[project.urls]
Homepage = "https://github.com/kcsry/infokala"
[tool.hatch.version]
path = "infokala/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/infokala",
]
[tool.hatch.build]
artifacts = [
"infokala/static",
]
[tool.ruff]
target-version = "py39"
ignore = [
"E501",
]
line-length = 120
select = [
"C9",
"E",
"F",
"I",
"UP",
"W",
]
[tool.ruff.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "infokala_test_site.settings"
norecursedirs = [".git", "venv*", "site-packages"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL", "ALLOW_UNICODE"]
filterwarnings = [
"error",
# See https://github.com/django/django/pull/15703#issuecomment-1155487846
# – the `index_together` option lives on in the migrations, even if we're actually
# using `indexes` in the model definition.
"once:'index_together' is deprecated.*",
]