forked from theOehrly/Fast-F1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (82 loc) · 2 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
dynamic = ["version"]
name = "fastf1"
authors = [
{email = "[email protected]"},
{name = "Philipp Schaefer"}
]
description = "Python package for accessing and analyzing Formula 1 results, schedules, timing data and telemetry."
readme = "README.md"
license = { file = "LICENSE" }
# minimum python version additionally needs to be changed in the test matrix
requires-python = ">=3.8"
# minimum package versions additionally need to be changed in requirements/minver.txt
dependencies = [
"matplotlib>=3.5.1,<4.0.0",
"numpy>=1.21.5,<2.0.0",
"pandas>=1.4.1,<3.0.0",
"python-dateutil",
"requests>=2.28.1",
"requests-cache>=1.0.0",
"scipy>=1.7.3,<2.0.0",
"thefuzz",
"timple>=0.1.6",
"websockets>=10.3",
]
[project.urls]
"Source Code" = "https://github.com/theOehrly/Fast-F1"
"Documentation" = "https://docs.fastf1.dev"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
ignore-vcs = true
include = [
"fastf1/**",
]
exclude = [
"fastf1/tests/**",
"fastf1/testing/**",
]
[tool.hatch.build.targets.sdist]
ignore-vcs = true
include = [
"fastf1/**",
"requirements/**",
"examples/**"
]
exclude = [
"fastf1/tests/**",
"fastf1/testing/**",
]
[tool.hatch.build.hooks.vcs]
version-file = "fastf1/_version.py"
[tool.hatch.version.raw-options]
# configures setuptools_scm within the hatchling build backend
version_scheme = "release-branch-semver"
local_scheme = "no-local-version" # needed for PyPI support for dev releases; hatch-vcs ignores setuptools_scm overrides through env vars
fallback_version = "0.0+UNKNOWN"
[tool.ruff]
line-length = 79
select = [
# "D", TODO: select and fix docstrings
"E",
"F",
"W",
]
exclude = [
"scripts",
"fastf1/tests",
"fastf1/testing",
"fastf1/signalr_aio",
"fastf1/legacy.py",
]
[tool.ruff.per-file-ignores]
"fastf1/_api.py" = ["E501"]
[tool.isort]
skip = ["docs/**"]
multi_line_output = 3
force_grid_wrap = 2
lines_after_imports = 2