-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2024-03-05 16:17] Fix for unit conversion issues that occurred due t…
…o package updates. (#122) Signed-off-by: Raoul Linnenbank <[email protected]>
- Loading branch information
1 parent
f2c28a1
commit fe55ff2
Showing
6 changed files
with
524 additions
and
467 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "weather_provider_api" | ||
version = "2.48.0" | ||
version = "2.49.0" | ||
description = "Weather Provider Libraries and API" | ||
authors = ["Verbindingsteam", "Raoul Linnenbank <[email protected]>"] | ||
license = "MPL-2.0" | ||
|
@@ -42,6 +42,7 @@ pytest-cov = "^4.0.0" | |
isort = "^5.10.1" | ||
pylint = "^2.15.10" | ||
black = "^23.10.1" | ||
ruff = {version = "^0.1.8", source = "pypi"} | ||
|
||
[tool.poetry.scripts] | ||
wpla_update_era5sl = "weather_provider_api.scripts.update_era5sl_repository:main" | ||
|
@@ -54,6 +55,10 @@ wpla_clear_arome = "weather_provider_api.scripts.erase_arome_repository:main" | |
wpla_clear_waarnemingen = "weather_provider_api.scripts.erase_waarnemingen_register:main" | ||
wpla_run_api = "weather_provider_api.main:main" | ||
|
||
[[tool.poetry.source]] | ||
name = "PyPI" | ||
priority = "primary" | ||
|
||
[tool.pylint] | ||
max-line-length = 120 | ||
|
||
|
@@ -64,3 +69,35 @@ line-length = 120 | |
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.ruff] | ||
select = [ | ||
"ANN", # flake8-annotations | ||
"E", # flake8 | ||
"F", # flake8 | ||
"I", # isort | ||
"D", # pydocstyle | ||
"S", # flake8-bandit | ||
"NPY", # numpy-specific rules | ||
"RUF", # ruff specific rules | ||
] | ||
ignore = [ | ||
"E501", | ||
"E712", | ||
|
||
"ANN101", # Missing type annotation for `self` in method | ||
"ANN202", # Missing return type annotation for private function | ||
"ANN204", # Missing return type annotation for special function | ||
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed | ||
|
||
# pydocstyle | ||
"D100", # Missing docstring in public module | ||
"D104", # Missing docstring in public package | ||
"D106", # Missing docstring in public nested class | ||
] | ||
|
||
[tool.ruff.per-file-ignores] | ||
"__init__.py" = ["F401"] | ||
"tests/**" = ["S", "ANN"] | ||
|
||
[tool.ruff.pydocstyle] | ||
convention = "google" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters