ruff: Configure hacking as external linter
Change-Id: I76b1a8de335e855a28aa16e3d345b3d345c590e1 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user