-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 1.96 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 1.96 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
[project]
name = "pyopensky"
version = "2.16"
description = "A Python interface for OpenSky database"
authors = [{ name = "Xavier Olive", email = "git@xoolive.org" }, { name = "Junzi Sun", email = "j.sun-1@tudelft.nl" }]
license = "MIT"
readme = "readme.md"
requires-python = ">=3.9"
dependencies = [
"appdirs >= 1.4.4",
"httpx >= 0.27.2",
"minio >= 7.2.8",
"numpy>=2.0.2",
"pandas >= 2.2.2",
"pyarrow >= 17.0.0",
"pyjwt >= 2.9.0",
"python-dotenv>=1.0.1",
"stamina>=25.1.0",
"tqdm >= 4.66.5",
"trino[sqlalchemy] >= 0.329.0",
"typing-extensions >= 4.12.2",
"tzdata>=2024.2",
]
[project.urls]
Repository = "https://github.com/open-aviation/pyopensky/"
[project.optional-dependencies]
cartes = ["cartes>=0.8.5; python_version>='3.10'"]
pymodes = ["pymodes>=2.18"]
rs1090 = ["rs1090>=0.3.8"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff >= 0.6.3",
"pytest >= 8.3.2",
"ipykernel >= 7.1.0; python_version>='3.10'",
"sphinx >= 7.4.7; python_version>'3.11'",
"sphinx-design >= 0.6.1; python_version>'3.11'",
"sphinx-rtd-theme >= 2.0.0; python_version>'3.11'",
"sphinx-autodoc-typehints >= 2.3.0; python_version>'3.11'",
"ty>=0.0.17",
]
[tool.ruff]
lint.select = [
"E",
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"NPY", # numpy
# "PD", # pandas
"DTZ", # flake8-datetimez
"RUF",
]
line-length = 80
target-version = "py39"
[tool.ruff.lint.isort]
known-first-party = ["numpy", "pandas"]
[tool.ty.src]
exclude = ["src/pyopensky/decoders/pymodes.py"]
[[tool.ty.overrides]]
# Target the file where the pandas datetime conversion happens
# This addresse the dt.tz_localize() typing issue
# Note that this rule is only an issue in Linux, not Windows or MacOS
include = ["src/pyopensky/rest.py"]
rules = { "unresolved-attribute" = "ignore" }
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(levelname)s %(name)s:%(filename)s:%(lineno)d %(message)s"