diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 248374ca23b69205af7444ca5b6debe35ff9f859..8e879c71ea84fb7b206157cd4afc281191d99c6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: yamllint files: \.(yaml|yml)$ - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.2.0 hooks: - id: flake8 - repo: https://github.com/pycqa/pylint diff --git a/requirements-dev.txt b/requirements-dev.txt index 5a347cb673790a77403b8ded6ed705e6deadbbac..a53e5b9ca5a67dffe2443e3dcce578ff430dcba1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ -r requirements-tests.txt ipdb==0.13.4 pre-commit==2.20.0 -flake8==7.0.0 +flake8 flake8-bugbear pylint>=3.2 wrapt==1.14.1 diff --git a/roles/ipaclient/module_utils/ansible_ipa_client.py b/roles/ipaclient/module_utils/ansible_ipa_client.py index 596ddfbacc78b4978b4914afcad35964535411d2..1a3a974e9a0e6e1a749cbeabfb0729047adeb0c0 100644 --- a/roles/ipaclient/module_utils/ansible_ipa_client.py +++ b/roles/ipaclient/module_utils/ansible_ipa_client.py @@ -231,8 +231,6 @@ try: cli_realm, cli_domain, cli_server, cli_kdc, dnsok, filename, client_domain, client_hostname, force=False, configure_sssd=True): - # pylint: disable=global-variable-not-assigned - global options options.force = force options.sssd = configure_sssd return ipa_client_install.configure_krb5_conf(