From 4fdbd9fd1e2eae6051508e000c0e04bd84016398 Mon Sep 17 00:00:00 2001 From: fosJoddie <5710881+fosJoddie@users.noreply.github.com> Date: Mon, 23 Aug 2021 20:28:51 +0200 Subject: [PATCH] Tell flake8 about _ --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98336d948..0d66aa3b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,6 +17,7 @@ repos: - id: flake8 language_version: python3 additional_dependencies: [flake8-bugbear, flake8-logging-format, flake8-variables-names, pep8-naming, flake8-eradicate] + args: [ --builtins=_ ] - repo: https://github.com/pre-commit/mirrors-isort rev: v5.9.3 hooks: