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
+13
View File
@@ -0,0 +1,13 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: 2025 Felix Fontein <felix@fontein.de>
[flake8]
extend-ignore = E203, E402, F401
count = true
# TODO: decrease this to ~10
max-complexity = 60
# black's max-line-length is 89, but it doesn't touch long string literals.
# Since ansible-test's limit is 160, let's use that here.
max-line-length = 160
statistics = true