Skip to content

Commit

Permalink
CI: Improve per-file-ignore configuration for ruff linter
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 23, 2022
1 parent 1638f74 commit 89d5e9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Expand Up @@ -305,7 +305,11 @@ line-length = 120
extend-exclude = [
".venv*",
]
per-file-ignores = { "wetterdienst/__init__.py" = ["E402"], "**/__init__.py" = ["F401"], "tests/provider/dwd/observation/test_available_datasets.py" = ["E402"]}

[tool.ruff.per-file-ignores]
"**/__init__.py" = ["F401"]
"wetterdienst/__init__.py" = ["E402"]
"tests/provider/dwd/observation/test_available_datasets.py" = ["E402"]

[tool.poe.tasks]
install_dev = "poetry install --with=test,dev,docs -E mpl -E ipython -E sql -E export -E duckdb -E influxdb -E cratedb -E mysql -E postgresql -E radar -E bufr -E restapi -E explorer -E bufr -E interpolation"
Expand Down

0 comments on commit 89d5e9b

Please sign in to comment.