-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
78 lines (69 loc) · 1.37 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "infotv"
dynamic = ["version"]
description = "A television, with information"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "Kehittyvien conien Suomi ry" },
{ name = "Aarni Koskela", email = "akx@iki.fi" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"Django>=3.2",
"jsonfield>=1.0.3",
"requests>=2.13.0",
]
[project.urls]
Homepage = "https://github.com/kcsry/infotv"
[tool.hatch.version]
path = "infotv/__init__.py"
[tool.hatch.build]
artifacts = [
"infotv/static",
]
[tool.hatch.build.targets.sdist]
include = [
"/infotv",
]
exclude = [
"/infotv/static/infotv",
]
[tool.hatch.build.targets.wheel]
exclude = [
"infotv/frontend",
]
[tool.ruff]
target-version = "py37"
line-length = 120
mccabe.max-complexity = 10
flake8-tidy-imports.ban-relative-imports = "all"
select = [
"B",
"C",
"E",
"F",
"I",
"RET",
"SIM",
"T",
"TID",
"UP",
"W",
]
ignore = [
"RET504",
"SIM105",
]
[tool.ruff.per-file-ignores]
"infotv_test/**" = ["ANN"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "infotv_test.settings"
norecursedirs = ["bower_components", "node_modules", ".git", "venv", "site-packages"]