-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (77 loc) · 2 KB
/
pyproject.toml
File metadata and controls
94 lines (77 loc) · 2 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "stac-factory"
version = "0.1.0"
description = "Refined Pydantic models for constructing STAC Items"
readme = "README.md"
authors = [{ name = "Phil Varner", email = "philvarner@gmail.com" }]
maintainers = [{ name = "Phil Varner", email = "philvarner@gmail.com" }]
license = { text = "Apache-2.0" }
requires-python = ">=3.10"
dependencies = [
"antimeridian>=0.4.5",
"cyclopts>=3.16.0",
"pydantic>=2.11.3",
]
[project.urls]
Homepage = "https://github.com/philvarner/stac-factory"
Repository = "https://github.com/philvarner/stac-factory"
Issues = "https://github.com/philvarner/stac-factory/issues"
[dependency-groups]
dev = [
"codespell>=2.4.1",
"mypy>=1.15.0",
"nox>=2024.4.15",
"pre-commit>=4.2.0",
"pre-commit-hooks>=5.0.0",
"pymarkdownlnt>=0.9.25",
"pystac>=1.13.0",
"pytest>=8",
"pytest-cov>=4.1.0",
"pytest-sugar>=1.0.0",
"ruff>=0.9.0",
# "types-jsonschema>=4.19.0.3",
# "pyrfc3339>=1.1",
# "types-pyRFC3339>=1.1.1",
]
[project.scripts]
stac-factory = "stac_factory.cli.__main__:app"
[tool.pytest.ini_options]
addopts = "-sv --cov stac_factory --cov-report html --cov-report term --cov-fail-under 99 -Werror"
[tool.mypy]
ignore_missing_imports = true
exclude = ["tests", ".venv"]
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = 'double'
[tool.ruff.lint]
select = ['ALL']
ignore = [
"D", # doc
"PLR2004", # magic values, exclude for tests
"ERA001", # commented code
"FIX", # todo
"TD", # todo
"EM",
"TRY",
"PLR0913",
"A002", # fix builtin shadowing
"COM812",
]
exclude = []
[tool.ruff.lint.per-file-ignores]
'__init__.py' = ['E402']
'**/tests/**/*' = ['T201', 'S101']
'stac_factory/cli/**' = ['T201']
[tool.ruff.lint.isort]
lines-between-types = 1
[tool.pymarkdown]
plugins.md013.line_length = 120
[tool.vulture]
ignore_names = ["cls"]
min_confidence = 80
sort_by_size = true
# verbose = true