diff --git a/pyproject.toml b/pyproject.toml index c4aa7f47..6716a64d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ show_column_numbers = true show_error_context = true strict = true # keep this in-sync with 'mypy.exclude' in '.pre-commit-config.yaml' -exclude = '(?x)(doc | releasenotes)' +exclude = "(?x)(doc | releasenotes)" [[tool.mypy.overrides]] module = ["keystoneauth1.tests.unit.*"] @@ -108,6 +108,7 @@ line-length = 79 [tool.ruff.lint] select = ["C4", "E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"] +external = ["H"] ignore = [ "S101", # asserts are only used for type narrowing ]