-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (63 loc) · 2.02 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
[project]
name = "loa"
version = "0.1.0"
description = "Library for interacting with VATSIM LoA data"
authors = [{ name = "Robin Gloster", email = "[email protected]" }, { name = "Leon Kleinschmidt" }]
license = { file = "LICENSE-code" }
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Games/Entertainment :: Simulation",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["pydantic>=2.10.2", "regex>=2024.11.6", "requests>=2.32.3"]
[project.scripts]
loa_combine = "loa:combine"
loa_check = "loa:check"
[dependency-groups]
dev = ["pyright>=1.1.389", "pytest>=8.3.3", "pytest-cov>=6.0.0", "ruff>=0.8.0"]
[tool.pytest.ini_options]
addopts = ["--cov-report=term", "--cov-report=xml:cov.xml", "--cov=loa"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
preview = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C90", # mccabe
"I", # isort
"ASYNC", # flake8-async
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"COM", # flake8-commas
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"PYI", # flake8-pyi
"Q", # flake8-quotes
"SIM", # flake8-simplify
"TCH", # flake8-typechecking
"PTH", # flake8-use-pathlib
"UP", # pyupgrade
"RUF", # ruff-specific
"TRY", # tryceratops
"FURB", # refurb
]
ignore = ["COM812"]
[tool.pyright]
include = ["src/loa", "tests"]
pythonVersion = "3.12"
typeCheckingMode = "strict"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"