From 8642624ce3e3330d4410bd6277196d799e5acaa5 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 19 Nov 2023 20:53:17 +0200 Subject: [PATCH] Revert "setup: move flake8 filename patterns to setup.cfg" This reverts commit 9c20afb4702c31050b956af7612614a3adffde9b. Turns out the filename config doesn't do what I thought it does. It lists filename patterns within paths, not files or directories to check, and the change skipped everything. --- Makefile.local | 2 +- setup.cfg | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.local b/Makefile.local index 0f1d373f..5284641c 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 + flake8 src/hawkmoth test .PHONY: check-rst check-rst: diff --git a/setup.cfg b/setup.cfg index 98192cad..a5f1a934 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,8 +60,5 @@ console_scripts = hawkmoth = hawkmoth.__main__:main [flake8] -filename = - src/hawkmoth - test extend-ignore = E302,E305,E731 max-line-length = 100