Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (101 loc) · 2.91 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (101 loc) · 2.91 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
104
105
106
107
108
109
110
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "flightbyte"
version = "1.0.0"
description = "Official Python client for the FlightByte flight status API: look flights up, watch them with signed webhooks and verify every delivery. No dependencies."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "FlightByte", email = "support@flightbyte.dev" }]
keywords = [
"flightbyte",
"flight status",
"flight tracking",
"flights",
"aviation",
"airline",
"airport",
"gate",
"delay",
"webhooks",
"api client",
"sdk",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://flightbyte.dev"
Documentation = "https://flightbyte.dev/docs"
Source = "https://github.com/FlightByte-dev/flightbyte-python"
Issues = "https://github.com/FlightByte-dev/flightbyte-python/issues"
Changelog = "https://github.com/FlightByte-dev/flightbyte-python/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["src/flightbyte"]
[tool.hatch.build.targets.sdist]
include = [
"/src/flightbyte",
"/tests",
"/spec",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests"]
# The README's code is laid out by hand, aligned comments and all.
extend-exclude = ["*.md"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W",
"F", # pyflakes
"I", # isort
"B", # bugbear
"UP", # pyupgrade, held to Python 3.10 by target-version
"SIM",
"C4",
"PIE",
"RUF",
"S", # bandit
"D", # docstrings
]
ignore = [
"D105", # magic methods explain themselves
"D107", # __init__ is documented on the class
"D401", # "Looks a flight up." reads better than "Look a flight up."
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D", "S"]
"examples/**" = ["D", "S"]
"scripts/**" = ["D", "S"]
# Private modules document their public names; their helpers need no docstring.
"src/flightbyte/_*.py" = ["D103"]
[tool.mypy]
strict = true
python_version = "3.10"
warn_unreachable = true
files = ["src"]