-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (26 loc) · 846 Bytes
/
pyproject.toml
File metadata and controls
30 lines (26 loc) · 846 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
[tool.ruff]
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # organize imports
"D", # docstyle
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.pydocstyle]
convention = "google"
[[tool.mypy.overrides]]
module = "harmony_service_lib.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
# Thread on the first warning:
# https://github.com/Unidata/netcdf4-python/issues/1354
# answer about overriding numpy's explicit ignoring warnings
# https://github.com/Unidata/netcdf4-python/issues/1354#issuecomment-2546768878
# https://github.com/numpy/numpy/blob/main/numpy/__init__.py#L320-L323
filterwarnings = [
"ignore:numpy.ndarray size changed",
# this warning is pulled deep in pyproj.
"ignore:You will likely lose important projection information:UserWarning:pyproj.*",
]