From 9c20afb4702c31050b956af7612614a3adffde9b Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 19 Nov 2023 12:36:42 +0200 Subject: [PATCH] setup: move flake8 filename patterns to setup.cfg Commit dc17f4165508 ("setup: move flake8 configuration to setup.cfg") moved flake8 ignore patterns and line length config to setup.cfg. Also move the filename patterns there. --- Makefile.local | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.local b/Makefile.local index 5284641c..0f1d373f 100644 --- a/Makefile.local +++ b/Makefile.local @@ -20,7 +20,7 @@ RST := $(RST) CHANGELOG.rst CONTRIBUTING.rst README.rst # Static analysis .PHONY: check check: - flake8 src/hawkmoth test + flake8 .PHONY: check-rst check-rst: diff --git a/setup.cfg b/setup.cfg index a5f1a934..98192cad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,5 +60,8 @@ console_scripts = hawkmoth = hawkmoth.__main__:main [flake8] +filename = + src/hawkmoth + test extend-ignore = E302,E305,E731 max-line-length = 100