-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
82 lines (75 loc) · 1.75 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openskistats"
version = "0.1.0"
description = "OpenSkiStats: Shredding Data Like Powder"
authors = [
{name = "Daniel Himmelstein"},
{name = "Trang Le"},
]
readme = "README.md"
license = {file = "LICENSE.md"}
repository = "https://github.com/dhimmel/openskistats"
requires-python = ">= 3.12"
dependencies = [
"beautifulsoup4>=4.12.3",
"folium>=0.19.3",
"great-tables >= 0.13.0", # https://github.com/machow/reactable-py/issues/29
"jupyter >= 1.1.1",
"matplotlib >= 3.9.2",
"mizani >= 0.13.0",
"networkx >= 3.4.2",
"numpy >= 2.1.3",
"osmnx >= 2.0.0",
"patito >= 0.8.2",
"plotly >= 5.24.1",
"plotnine >= 0.13.6",
"polars>=1.19.0",
"pvlib>=0.11.2",
"pyarrow >= 17.0.0",
"reactable >= 0.1.5",
"requests >= 2.32.3",
"rich>=13.9.4",
"typer >= 0.12.5",
]
[project.optional-dependencies]
dev = [
"pre-commit >= 3.8.0",
"pytest >= 7.4.4",
]
[project.scripts]
openskistats = "openskistats.commands:Commands.command"
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
ignore = [
"E501", # line-too-long (black should handle)
]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycode warnings
]
[tool.mypy]
python_version = "3.12"
strict = true
pretty = true
show_error_context = true
plugins = "numpy.typing.mypy_plugin"
# https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file
[[tool.mypy.overrides]]
module = [
"networkx.*",
"pandas.*",
"patito.*",
"requests.*",
]
ignore_missing_imports = true