-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
84 lines (70 loc) · 1.48 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
82
83
84
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lippukala"
dynamic = ["version"]
description = "Desuconin ja Traconin e-lippu-jarjestelmä"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Aarni Koskela", email = "akx@iki.fi" },
]
dependencies = [
"Django>=4.2",
"reportlab>=2.6",
"xlwt",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-django",
]
[project.urls]
Homepage = "https://github.com/kcsry/paikkala"
[tool.hatch.version]
path = "lippukala/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/lippukala",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "lippukala_test_app.settings"
norecursedirs = [".git", "venv*", "site-packages"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL", "ALLOW_UNICODE"]
[[tool.mypy.overrides]]
module = "django.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "reportlab.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "xlwt.*"
ignore_missing_imports = true
[tool.ruff]
line-length = 110
[tool.ruff.lint]
ignore = []
select = [
"C9",
"E",
"F",
"I",
"W",
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.coverage.report]
omit = [
"*management*",
"*migrations*",
"*site-packages*",
]
exclude_also = [
"@(abc\\.)?abstractmethod",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
]