
To ease migration of various commands from OSC to SDK. Change-Id: I4645237e8808239e4d605f7f45138449c9439949 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
35 lines
677 B
TOML
35 lines
677 B
TOML
[tool.mypy]
|
|
python_version = "3.9"
|
|
show_column_numbers = true
|
|
show_error_context = true
|
|
ignore_missing_imports = true
|
|
follow_imports = "normal"
|
|
incremental = true
|
|
check_untyped_defs = true
|
|
warn_unused_ignores = true
|
|
# keep this in-sync with 'mypy.exclude' in '.pre-commit-config.yaml'
|
|
exclude = '''
|
|
(?x)(
|
|
doc
|
|
| examples
|
|
| releasenotes
|
|
)
|
|
'''
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["openstackclient.tests.unit.*"]
|
|
ignore_errors = true
|
|
|
|
[tool.ruff]
|
|
line-length = 79
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "preserve"
|
|
docstring-code-format = true
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E4", "E7", "E9", "F", "S", "U"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"openstackclient/tests/*" = ["S"]
|