-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
78 lines (70 loc) · 1.61 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
[project]
name = "r2r-ctd"
dynamic = ["version"]
license = "BSD-3-Clause"
license-files = ["LICENSE.md"]
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Andrew Barna", email = "abarna@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"click>=8.2.0",
"docker>=7.1.0",
"lxml>=5.4.0",
"odf-sbe>=0.2.1",
"rich>=14.0.0",
"folium>=0.20.0",
]
[project.scripts]
r2r-ctd = "r2r_ctd.__main__:cli"
[build-system]
requires = ["setuptools>=68", "setuptools_scm>=7"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "999"
[dependency-groups]
dev = [
"furo>=2024.8.6",
"mypy>=1.17.0",
"myst-parser>=4.0.1",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"ruff>=0.12.1",
"sphinx>=8.2.3",
"sphinx-autoapi>=3.6.0",
"types-docker>=7.1.0.20250705",
"types-lxml>=2025.3.30",
]
[tool.ruff]
[tool.ruff.lint]
extend-select = [
"YTT", # flake8-2020
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"TID", # flake8-tidy-imports (absolute imports)
"PYI", # flake8-pyi
"SIM", # flake8-simplify
"FLY", # flynt
"I", # isort
"PERF", # Perflint
"W", # pycodestyle warnings
"PGH", # pygrep-hooks
"PLC", # Pylint Convention
"PLE", # Pylint Errors
"PLR", # Pylint Refactor
"PLW", # Pylint Warnings
"UP", # pyupgrade
"FURB", # refurb
"RUF",
]
extend-safe-fixes = [
"TID252", # absolute imports
]
[tool.ruff.lint.isort]
known-first-party = ["r2r_ctd"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"