-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
86 lines (79 loc) · 1.55 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
[project]
version = "1.0.0"
name = "f1_visualization"
authors = [{ email = "[email protected]", name = "Casper Guo" }]
description = "Transformed data and visualization tools for all Formula 1 races since 2018"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastf1 >= 3.4.4",
"pandas >= 1.5.0",
"matplotlib >= 3.7.0",
"numpy >= 1.26.0",
"seaborn >= 0.13.0",
"tomli >= 2.0.0",
"tomli-w >= 1.0.0",
"pre-commit >= 3.6.0",
"click >= 8.0.0",
"dash >= 2.9.0",
"dash-bootstrap-components >= 1.6.0",
]
[project.optional-dependencies]
performance = ["orjson >= 3.9.0"]
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["f1_visualization"]
[tool.ruff]
include = ["f1_visualization/*.py", "./*.py"]
line-length = 96
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# pycodestyle warnings
"W",
# pycodestyle errors
"E",
# isort
"I",
# pep8-naming
"N",
# pydocstyle
"D1",
"D2",
"D3",
"D400",
"D401",
"D402",
"D403",
"D404",
# flake8-blind-except
"BLE",
# flake8-builtins
"A",
# flake8-logging-format
"G",
# flake8-print
"T20",
# flake8-raise
"RSE",
# flake8-return
"RET",
# flake8-simplify
"SIM",
# flake8-use-pathlib
"PTH",
# eradicate
"ERA",
# pandas-vet
"PD",
# Numpy
"NPY",
]
ignore = ["D211", "D212", "PD901", "PTH123"]