-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
126 lines (111 loc) · 2.91 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "pyrorisks"
version = "0.1.0"
description = "Data pre-processing pipelines and models for wildfire forecasting and monitoring"
authors = ["Pyronear <contact@pyronear.org>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "pyrorisks"}, {include = "app"}]
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords=["data science", "time series", "machine learning"]
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.31.0"
geopandas = "1.0.1"
boto3 = "^1.28.62"
shapely = "^2.0.4"
rasterio = "1.3.10"
matplotlib = "^3.9.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pre-commit = "^3.4.0"
mypy = "^1.10.0"
ruff = "^0.5.1"
pytest-cov = "^5.0.0"
ipykernel = "^6.29.5"
[tool.poetry.group.app.dependencies]
fastapi = "^0.111.0"
uvicorn = "^0.25"
pydantic-settings = "^2.3.4"
pydantic = "^2.8.2"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.5"
sphinx-rtd-theme = "^2.0.0"
myst-parser = "^3.0.1"
sphinx-autobuild = "^2024.4.16"
jinja2 = "^3.1.4"
linkify-it-py = "^2.0.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
lint.ignore = [
"F401", # line too long, handled by black
"E402", # do not perform function calls in argument defaults
"E265", # raise from
"F403", # too complex
"F821", # list comprehension to list()
"W605", # list comprehension to list()
]
exclude = [".git", "venv", "docs", "build"]
line-length = 120
target-version = "py310"
preview = true
[tool.mypy]
python_version = "3.10"
files = ["pyrorisks/**/*.py", "app/**/*.py"]
show_error_codes = true
pretty = true
[[tool.mypy.overrides]]
module = [
"dotenv",
"xarray",
"pandas",
"numpy",
"geopandas",
"shapely",
"shapely.geometry",
"rasterio",
"rasterio.features",
"cdsapi",
"urllib3",
"joblib",
"matplotlib",
"scipy",
"netCDF4",
"pyrorisks",
"requests",
"boto3",
]
ignore_missing_imports = true
[tool.black]
line-length = 120
target-version = ['py310']
[tool.conda-lock]
skip-non-conda-lock = true
channels = [
'conda-forge'
]
platforms = [
'linux-64', 'linux-aarch64', 'osx-64', 'osx-arm64', 'win-64',
]
[tool.conda-lock.dependencies]
pip = "*"
python = "3.10.14"
rasterio = "1.3.10"