-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 1022 Bytes
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 1022 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "deepfreeze-workspace"
version = "1.0.0"
description = "Deepfreeze monorepo - Elasticsearch S3 Glacier archival"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
[tool.hatch.envs.default]
dependencies = [
"packages/elastic-deepfreeze-core",
"packages/elastic-deepfreeze-cli",
]
[tool.hatch.envs.test]
dependencies = [
"packages/elastic-deepfreeze-core",
"packages/elastic-deepfreeze-cli",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"moto[s3]>=4.0.0",
]
[tool.hatch.envs.test.scripts]
all = "pytest tests/ -v"
core = "pytest tests/core/ -v"
cli = "pytest tests/cli/ -v"
cov = "pytest tests/ --cov=elastic_deepfreeze_core --cov=elastic_deepfreeze --cov-report=term-missing"
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.ruff]
line-length = 88
target-version = "py38"
select = ["E", "F", "W", "I", "UP", "B", "C4"]
ignore = ["E501"]