-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (118 loc) · 3.07 KB
/
pyproject.toml
File metadata and controls
132 lines (118 loc) · 3.07 KB
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
127
128
129
130
131
132
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "eodag_cube"
dynamic = ["version"]
description = "Data access for EODAG"
readme = "README.rst"
authors = [
{name = "CS GROUP - France", email = "eodag@csgroup.space"}
]
license = {text = "Apache 2.0"}
dependencies = [
"eodag >= 4.0.0a1",
"numpy",
"rasterio",
"xarray",
"rioxarray",
"h5netcdf",
"netcdf4",
"cfgrib",
"fsspec",
"s3fs",
"aiohttp"
]
requires-python = ">= 3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: GIS"
]
[project.urls]
Repository = "https://github.com/CS-SI/eodag-cube"
[project.optional-dependencies]
dev = [
"flake8",
"isort",
"prek",
"pytest",
"pytest-cov",
"tox",
"tox-uv",
"nose",
"faker",
"coverage",
"moto >=5",
"responses !=0.24.0",
"twine",
"wheel",
"mypy",
"types-requests",
"types-shapely",
"boto3-stubs[essential]"
]
[tool.setuptools.package-data]
eodag_cube = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "eodag_cube.__version__"}
[[tool.mypy.overrides]]
module = [
"fsspec",
"fsspec.*",
"rasterio",
"rasterio.*",
]
ignore_missing_imports = true
[tool.uv]
cache-keys = [{ git = true }]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"B", # flake8-bugbear
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"C90", # mccabe (complexity)
"I", # isort
"T20", # flake8-print
"D1", # pydocstyle - docstring presence only
]
ignore = [
"E203", # Whitespace before '{symbol}'
"E266", # Too many leading '#' for block comment
"E501", # Line too long
"D100", # Missing docstring in public module
"D107", # Missing docstring in __init__
"D105", # Missing docstring in magic method
]
[tool.ruff.lint.per-file-ignores]
"tests/context.py" = ["F401"] # F401: unused import
"tests/**.py" = ["D"] # D: pydocstyle
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.semantic_release.branches.main]
match = "(master|develop|new-release)"
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''build: bump version.+''',
]
mode = "update"
insertion_flag = "===============\nRelease history\n==============="
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGES.rst"
output_format = "rst"