-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (57 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
68 lines (57 loc) · 1.81 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
[tool.poetry]
name = "cwms-cli"
repository = "https://github.com/HydrologicEngineeringCenter/cwms-cli"
version = "0.7.0"
packages = [
{ include = "cwmscli" },
]
include = [
"cwmscli/utils/*.html",
]
description = "Command line utilities for Corps Water Management Systems (CWMS) python scripts. This is a collection of shared scripts across the enterprise Water Management Enterprise System (WMES) teams."
readme = "README.md"
license = "LICENSE"
keywords = ["USACE", "CWMS", "CLI", "Hydrologic Engineering Center", "HEC", "Hydrology", "Hydraulics", "Water Resources", "DSS"]
authors = ["Eric Novotny <eric.v.novotny@usace.army.mil>", "Charles Graham <charles.r.graham@usace.army.mil>"]
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.8"
requests = "^2.30.0"
hecdss = { version = ">=0.1.24", optional = true } # Via https://github.com/HydrologicEngineeringCenter/hec-python-library/blob/main/hec/shared.py#L9-10
cwms-python = { version = ">=1.0.7", optional = true}
colorama = "^0.4.6"
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
isort = "^5.13.2"
mypy = "^1.9.0"
pre-commit = "^3.6.2"
pytest = "^8.3.5"
#pytest-cov = "^4.1.0"
#pandas-stubs = "^2.2.1.240316"
yamlfix = "^1.16.0"
pandas = "^2.1.3"
cwms-python = "^1.0.7"
hecdss = "^0.1.24"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# Organize test output by test file
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short -ra"
# Group tests by module for clearer output
markers = [
"unit: unit tests",
"integration: integration tests",
"cli: CLI command tests",
]
[tool.isort]
profile = "black"
[tool.yamlfix]
comments_min_spaces_from_content = 1
whitelines = 1
explicit_start = false
preserve_quotes = true
[tool.poetry.scripts]
cwms-cli = "cwmscli.__main__:main"