-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
77 lines (63 loc) · 1.8 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
[build-system]
requires = [ "hatchling" ]
build-backend = "hatchling.build"
[project]
name = "mvg"
version = "1.3.1"
description = "An unofficial interface to timetable information of the Münchner Verkehrsgesellschaft (MVG)."
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.8"
dependencies = [ "aiohttp~=3.8", "furl~=2.1" ]
[[project.authors]]
name = "Martin Dziura"
email = "m.dziura@tum.de"
[project.urls]
"Documentation" = "https://mondbaron.github.io/mvg"
"Source" = "https://github.com/mondbaron/mvg"
"Bug Tracker" = "https://github.com/mondbaron/mvg/issues"
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pytest",
"pytest-asyncio",
"tox",
"tox-uv",
"sphinx",
"sphinx-mdinclude",
"sphinx-pyproject",
"sphinx-rtd-theme",
]
[tool.mypy]
follow_imports = "normal"
ignore_missing_imports = true
show_column_numbers = true
show_error_codes = true
strict = true
[tool.ruff]
indent-width = 4
line-length = 120
[tool.ruff.lint]
ignore = [ "D203", "D213", "EXE001", "FBT" ]
select = [ "ALL" ]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [ "INP001", "S101", "T201" ]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
indent-style = "space"
line-ending = "auto"
quote-style = "double"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true