From 4bebbc93c885350563e9e98c7555a092043a7b4b Mon Sep 17 00:00:00 2001 From: josep-tecnativa Date: Wed, 8 Nov 2023 12:07:42 +0100 Subject: [PATCH] [FIX] Undoo last merge - testing pre-commit-config.yaml.jinja changes --- .flake8 | 2 +- .pre-commit-config.yaml.jinja | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index b2dccf6d..1a92be63 100644 --- a/.flake8 +++ b/.flake8 @@ -2,6 +2,6 @@ # HACK https://gitlab.com/pycqa/flake8/issues/428 [flake8] # See https://github.com/psf/black#line-length -ignore = E203, E501, W503, B950, B023 +ignore = E203, E501, W503, B950 max-line-length = 88 select = C,E,F,W,B diff --git a/.pre-commit-config.yaml.jinja b/.pre-commit-config.yaml.jinja index e65d1c21..bfb0dcd7 100644 --- a/.pre-commit-config.yaml.jinja +++ b/.pre-commit-config.yaml.jinja @@ -116,6 +116,7 @@ repos: hooks: - id: flake8 name: flake8 except __init__.py, __manifest__.py + args: ["--extend-ignore=B023"] exclude: /__(?:init|manifest)__\.py$ additional_dependencies: ["flake8-bugbear==23.7.10", "importlib-metadata<=6.8.0"] - id: flake8