forked from nasa/batchee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (75 loc) · 1.95 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "batchee"
dynamic = ["version"]
description = "Determine how to group together input files into batches for subsequent concatenation"
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.12,<4"
authors = [
{ name = "Daniel Kaufman", email = "daniel.kaufman@nasa.gov" },
{ name = "Andrey Kim", email = "andrey.kim@nasa.gov" }
]
dependencies = [
"harmony-service-lib>=2.0.0",
]
keywords = ["nasa", "earthdata", "batch"]
[project.optional-dependencies]
dev = [
"coverage>=7.8.0",
"ruff>=0.11.8",
"pytest>=8.3.5",
"mypy>=1.15.0",
"pytest-cov>=6.1.1",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
# This tells hatch-vcs to use an env var if git metadata is unavailable
version_scheme = "no-guess-dev"
[project.urls]
Repository = "https://github.com/nasa/batchee"
Changelog = "https://github.com/nasa/batchee/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/nasa/batchee/issues"
[project.scripts]
batchee_harmony = 'batchee.harmony.cli:main'
batchee = 'batchee.tempo_filename_parser:main'
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"harmony.*",
"pystac.*"
]
ignore_missing_imports = true
[tool.ruff]
builtins = ["ellipsis"]
exclude = [
".eggs",
"doc",
"_typed_ops.pyi",
]
# Allow lines to be as long as 100.
line-length = 100
target-version = "py312"
[tool.ruff.lint]
ignore = [
"E402", # module level import not at top of file
"E501", # line too long - let ruff format handle it
"E731", # do not assign a lambda expression, use a def
]
select = [
"F", # Pyflakes
"E", # Pycodestyle errors
"W", # Pycodestyle warnings
"I", # isort
"UP", # Pyupgrade
"B", # Bugbear (catches common bugs)
"C4", # Comprehensions
"SIM", # Simplifications
]
[tool.ruff.lint.isort]
known-first-party = ["batchee"]