Add more CI checks (#1150)

* Enable mypy.

* Add flake8.

* Add pylint with a long list of ignores to be removed.
This commit is contained in:
Felix Fontein
2025-10-07 19:37:16 +02:00
committed by GitHub
parent 449b37e1c9
commit acf18f0ade
13 changed files with 705 additions and 19 deletions
+12 -3
View File
@@ -19,13 +19,22 @@ stable_branches = [ "stable-*" ]
run_isort = true
isort_config = ".isort.cfg"
run_black = true
run_flake8 = false
run_pylint = false
run_flake8 = true
flake8_config = ".flake8"
run_pylint = true
pylint_rcfile = ".pylintrc"
run_yamllint = true
yamllint_config = ".yamllint"
yamllint_config_plugins = ".yamllint-docs"
yamllint_config_plugins_examples = ".yamllint-examples"
run_mypy = false
run_mypy = true
mypy_ansible_core_package = "ansible-core>=2.19.0"
mypy_config = ".mypy.ini"
# mypy_extra_deps = [
# "cryptography",
# "types-mock",
# "types-PyYAML",
# ]
[sessions.docs_check]
validate_collection_refs="all"