File: pyproject.toml

package info (click to toggle)
cdsetool 0.2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 364 kB
  • sloc: python: 1,197; xml: 97; makefile: 2
file content (63 lines) | stat: -rw-r--r-- 1,385 bytes parent folder | download
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
[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,< 14",
  "requests >= 2.28.1,< 3",
  "pyjwt[crypto] >= 2.8,< 2.10",
  "geopandas >= 0.13.2",
]
[project.optional-dependencies]
test = [
    "pylint==3.3.1",
    "pytest==8.3.3",
    "pytest-cov==5.0.0",
    "requests-mock==1.12.1",
    "ruff==0.6.6",
    "pytest-mock==3.14.0",
]

[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.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
typeCheckingMode = "standard"

executionEnvironments = [
  { root = "./" }
]

[tool.pytest.ini_options]
addopts = [
    "--import-mode=importlib",
]