-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (93 loc) · 2.24 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[tool.poetry]
name = "inspectds"
version = "0.4.0"
description = ""
authors = ["Panos Mavrogiorgos <[email protected]>"]
license = "Unlicense"
readme = "README.md"
repository = "https://github.com/pmav99/inspectds.git"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
]
[tool.poetry.scripts]
inspectds = "inspectds.cli:app"
[tool.poetry.dependencies]
python = "^3.9"
cfgrib = { version = ">=0.9", optional = true }
netcdf4 = "*"
rioxarray = "*"
typer = {version = ">=0.12.0"}
xarray = "*"
xarray-selafin = {version = "*", optional = true}
zarr = ">=2.8"
[tool.poetry.extras]
grib = ["cfgrib"]
selafin = ["xarray-selafin"]
all = ["cfgrib", "xarray-selafin"]
[tool.poetry.group.dev.dependencies]
covdefaults = "*"
mypy = ">=1"
pytest = "*"
ipython = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.conda-lock]
channels = [
'conda-forge',
]
platforms = [
'linux-64',
'osx-64',
]
[tool.conda-lock.dependencies]
eccodes = "*"
[tool.black]
line-length = 108
target-version = ['py39']
[tool.pytest.ini_options]
addopts = "-ra --verbose --showlocals --tb=short"
testpaths = ["tests"]
log_cli = true
filterwarnings = [
'ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning',
'ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning',
]
[tool.mypy]
python_version = "3.9"
plugins = [
"numpy.typing.mypy_plugin"
]
show_error_codes = true
show_column_numbers = true
show_error_context = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
strict = true
ignore_missing_imports = true
# mypy per-module options:
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = true
[tool.ruff]
target-version = "py39"
line-length = 108
select = [
"E", # pycodestyle
"F", # pyflakes
"C90", # mccabe
]
ignore = [
"E501", # line-too-long
]