-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
84 lines (76 loc) · 1.88 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
[tool.poetry]
name = "ncompare"
version = "1.11.0"
description = "Compare the structure of two NetCDF files at the command line"
authors = ["Daniel Kaufman <[email protected]>"]
readme = "README.md"
repository = "https://github.com/nasa/ncompare"
license = "Apache-2.0"
classifiers = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.scripts]
ncompare = "ncompare.console:main"
[tool.poetry.dependencies]
python = "^3.9"
numpy = ">=1.26.0"
netCDF4 = ">=1.6.4"
xarray = ">=2023.9"
colorama = ">=0.4.6"
openpyxl = ">=3.1.2"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.2,<9.0.0"
ruff = ">=0.5.1,<0.7.4"
mypy = ">=1.5.1"
pytest-cov = ">=4.1,<7.0"
mkdocs = ">=1.5.3"
markdown-callouts = ">=0.4.0"
markdown-include = ">=0.8.1"
mkdocstrings = ">=0.24.1,<0.28.0"
mkdocs-jupyter = ">=0.24.6"
mkdocs-material = ">=9.5.12"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[[tool.mypy.overrides]]
module = [
"colorama.*",
"netCDF4.*",
"openpyxl.*"
]
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 = "py39"
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
ignore = [
"E402",
"E501",
"E731",
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W",
"I", # isort
"UP", # Pyupgrade
]