forked from CDSETool/CDSETool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
77 lines (66 loc) · 1.64 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "cdsetool"
version = "0.2.13"
authors = [
{ name="Jacob Vejby", email="javej@sdfi.dk" },
]
description = "Tools & CLI for interacting with CDSE product APIs"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"typer >= 0.9,< 1",
"rich >= 13.6,< 16",
"requests >= 2.28.1,< 3",
"pyjwt[crypto] >= 2.8,< 2.13",
"geopandas >= 0.13.2",
]
[dependency-groups]
dev = [
"ruff==0.15.11",
]
# (Jan 30 2025) Pip does not support dependency-groups yet, so
# leave the optional dependencies for everything except Ruff.
[project.optional-dependencies]
test = [
"pylint==3.3.9",
"pytest==8.4.2",
"pytest-cov==7.1.0",
"requests-mock==1.12.1",
"pytest-mock==3.15.1",
]
[project.urls]
"Homepage" = "https://github.com/CDSETool/CDSETool"
"Bug Tracker" = "https://github.com/CDSETool/CDSETool/issues"
[project.scripts]
cdsetool = "cdsetool:cli.main"
[tool.pylint.design]
max-locals = 20
[tool.pylint.format]
max-line-length = "88"
disable="fixme"
[tool.pylint.imports]
disable="wrong-import-order"
[tool.pyright]
exclude = ["**/__pycache__", ".venv"]
# Can be strict too, see more fine-grained settings at:
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-settings-defaults
# reportMissingParameterType = true
typeCheckingMode = "standard"
executionEnvironments = [
{ root = "./" }
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.ruff.lint]
select = [
"I", # isort
]