-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (64 loc) · 1.93 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
[project]
name = "vatsim"
version = "0.2.0"
description = "Library for interacting with VATSIM APIs and data"
authors = [
{ name = "Franz Pletz", email = "[email protected]" },
{ name = "Alex Legler", email = "[email protected]" },
{ name = "Robin Gloster", email = "[email protected]" },
]
license = { file = "LICENSE" }
readme = "README.md"
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",
]
requires-python = ">=3.10"
dependencies = ["pydantic>=2.10.2", "regex>=2024.11.6", "requests>=2.32.3"]
[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=vatsim"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
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 = ["vatsim", "tests"]
pythonVersion = "3.12"
typeCheckingMode = "strict"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"