From c3cdacb14e7de86e58fc66ad0d5f1ad628a8cc66 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Tue, 25 Oct 2022 04:58:37 -0700 Subject: [PATCH] Add configuration for Flake8. The main differences from the defaults are enabling the opinionated bugbear codes and excluding the vendored sources. --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 47d5a4f6..1ff39f25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,6 +58,9 @@ skip_gitignore = true [flake8] max-line-length = 88 +select = B,B9,E,F,C9 +extend-ignore = E203 +extend-exclude = vendored [tool:pytest] testpaths = tests