-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
103 lines (91 loc) · 2.49 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fr24sdk"
version = "0.3.0"
description = "Python SDK for the Flightradar24 API"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
keywords = ["flightradar24", "FR24", "api", "sdk", "aviation"]
authors = [
{ name = "Damian Szumski", email = "damian.szumski@fr24.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.28,<1.0",
"exceptiongroup; python_version < '3.11'",
"tenacity>=8.2,<10.0",
"pydantic>=2.10.6,<3.0"
]
[project.urls]
Homepage = "https://github.com/flightradar24/fr24api-sdk-python"
Documentation = "https://github.com/flightradar24/fr24api-sdk-python/blob/main/docs/README.md"
Repository = "https://github.com/flightradar24/fr24api-sdk-python"
Changelog = "https://github.com/flightradar24/fr24api-sdk-python/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"ruff==0.12.1",
"mypy",
"pytest",
"pytest-cov",
"pytest-asyncio",
"httpx[http2,brotli]", # For testing advanced httpx features if needed
"respx", # For mocking httpx requests
"tenacity", # Also add to dev for testing if not already covered by main deps
"pre-commit",
"bandit",
"safety",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"pip-tools", # For managing requirements.txt from pyproject.toml if desired later
]
[tool.hatch.version]
path = "src/fr24sdk/__init__.py"
[tool.ruff]
lint.ignore = [
"S101",
"D203",
"D213",
"FIX002",
"TD002",
"TD003",
"COM812",
"E501",
]
[tool.mypy]
strict = true
python_version = "3.11"
warn_return_any = false
warn_unused_configs = false
ignore_missing_imports = true
disallow_untyped_defs = false
disallow_any_generics = false
check_untyped_defs = false
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=src/fr24sdk --cov-report=term-missing --cov-report=xml"
testpaths = [
"tests",
]
python_files = "test_*.py"
[tool.coverage.run]
source = ["src/fr24sdk"]
[tool.coverage.report]
fail_under = 80
[tool.bandit]
skips = ["B101"]