ruff: Configure hacking as external linter

Change-Id: I76b1a8de335e855a28aa16e3d345b3d345c590e1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2026-03-09 12:32:57 +00:00
parent f63c4e643e
commit c5d372945b

View File

@@ -41,8 +41,8 @@ python_version = "3.10"
show_column_numbers = true
show_error_context = true
strict = true
exclude = '(?x)(doc | examples | releasenotes)'
disable_error_code = ["import-untyped"]
exclude = "(?x)(doc | releasenotes)"
[[tool.mypy.overrides]]
module = ["oslo_upgradecheck.tests.*"]
@@ -56,6 +56,7 @@ line-length = 79
[tool.ruff.lint]
select = ["C4", "E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
external = ["H"]
ignore = [
# we only use asserts for type narrowing
"S101",