-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 1.59 KB
/
pyproject.toml
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
[tool.poetry]
name = "vxingest"
version = "0.1.0"
description = ""
authors = [
"Ian McGinnis <ian.mcginnis@noaa.gov>",
"Randy Pierce <randy.pierce@noaa.gov>",
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pyyaml = "^6.0.2"
xarray = "^2024.10.0"
netcdf4 = "^1.7.2"
cfgrib = "^0.9.14.1"
couchbase = "^4.3.3"
pyproj = "^3.7.0"
numpy = "^2.1.2"
metpy = "^1.6.3"
prometheus-client = "^0.21.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
types-pyyaml = "^6.0.12.20240808"
ruff = "^0.7.1"
coverage = "^7.6.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ingest = "vxingest.main:run_ingest"
[tool.pytest.ini_options]
markers = [
"integration: marks tests that need external resources like databases or data files (deselect with '-m \"not integration\"')",
]
[tool.coverage.run]
branch = true
source = ["src"]
[tool.ruff]
# Dirs that contain third party example scripts and other languages
exclude = [
"scripts",
"meta_update_middleware",
]
output-format="pylint"
# For a list of available rules, see: https://docs.astral.sh/ruff/rules/
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"PTH", # flake8-use-pathlib
"PT", # flake8-pytest-style
"B", # bugbear
"SIM", # flake8-simplify
"LOG", # flake8-logging
]
lint.ignore = [
"E501", # Supress line-too-long warnings: trust the formatter's judgement on this one.
"W505", # Supress line-too-long warnings: trust the formatter's judgement on this one.
]