diff --git a/.flake8 b/.flake8 index 69503e9a03..db45ea0dae 100644 --- a/.flake8 +++ b/.flake8 @@ -15,7 +15,6 @@ fcn_exclude_functions = getLogger, loads, get, - appens, next, setdefault, dumps, @@ -43,9 +42,9 @@ fcn_exclude_functions = re, requests, signal, - self, yaml, benedict, + logger, enable-extensions = FCN, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1106ac0592..5116dcf8ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: flake8 args: [--config=.flake8] additional_dependencies: [ - "git+https://github.com/RedHatQE/flake8-plugins.git", + "git+https://github.com/RedHatQE/flake8-plugins.git@v0.0.2", "flake8-mutable", ]