generated from openclimatefix/ocf-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (72 loc) · 1.47 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
[project]
name="PVNet_summation"
description = "PVNet_summation"
authors = [{name="James Fulton", email="info@openclimatefix.org"}]
dynamic = ["version", "readme"]
license={file="LICENCE"}
dependencies = [
"ocf_datapipes>=3.3.33",
"pvnet>=3.0.45",
"numpy",
"pandas",
"matplotlib",
"xarray",
"ipykernel",
"h5netcdf",
"torch>=2.0.0",
"lightning>=2.0.1",
"pytest",
"pytest-cov",
"typer",
"sqlalchemy",
"fsspec[s3]",
"wandb",
"tensorboard",
"tqdm",
"omegaconf",
"hydra-core",
"python-dotenv",
"huggingface-hub",
"geopandas==0.14.4",
]
[tool.setuptools.dynamic]
version = {attr = "pvnet_summation.__version__"}
readme = {file = "README.md", content-type = "text/markdown"}
[tool.setuptools.package-dir]
"pvnet_summation" = "pvnet_summation"
[project.optional-dependencies]
dev=[
"black",
"flake8",
"isort",
"mypy",
"pre-commit",
"pytest",
"pytest-cov",
]
all=["PVNet[dev]"]
[tool.mypy]
exclude = [
"^tests/",
]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = [
]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.ruff]
line-length = 100
exclude = [".ipynb_checkpoints", "tests", "configs.example"]