Skip to content
Snippets Groups Projects
Unverified Commit 85f77707 authored by Newbyte's avatar Newbyte :snowflake: Committed by Oliver Smith
Browse files

pyproject.toml: Fix deprecation warning (MR 2262)

Fixes this warning:

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
parent a416e3ff
No related branches found
No related tags found
1 merge request!2262Add some type hints and fix Ruff deprecation warning
......@@ -31,5 +31,5 @@ exclude = ["aports", "keys", "test", "test.pmb_test"]
[tool.ruff]
# E402: module import not on top of file, not possible for testcases
# E722: do not use bare except
ignore=["E402", "E722"]
lint.ignore=["E402", "E722"]
line-length=100
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment