From d5eb95727c0158293f2981b574ed8f3a1ddb1ac5 Mon Sep 17 00:00:00 2001 From: Iwan Aucamp Date: Sun, 15 May 2022 10:37:04 +0200 Subject: style: enable and baseline flakeheaven (#1928) * Enable and baseline flakeheaven This patch adds flakeheaven with a baseline, the baseline ignores all existing errors and only reports on new errors. The benefit with this approach is that we can get full flake8 on new changes without having to first address the flake8 warnings with our existing codebase. Baselined errors can still be seen with: - `flakeheaven lint --baseline /dev/null` - `flake8` This also adds a flakeheaven to GitHub Actions in a way which will result in independent reporting. Other changes: - Simplified caching behaviour in GitHub Actions - Removed flake8-black because it does not work well https://github.com/peterjc/flake8-black/issues/59 - Remove redundant/duplicated config for flake8 Co-authored-by: Christian Clauss --- Dockerfile.devcontainer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile.devcontainer') diff --git a/Dockerfile.devcontainer b/Dockerfile.devcontainer index f10881c9..ed071e44 100644 --- a/Dockerfile.devcontainer +++ b/Dockerfile.devcontainer @@ -57,7 +57,7 @@ RUN \ RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin -COPY requirements.txt requirements.dev.txt requirements.dev-extra.txt /var/tmp/ +COPY requirements*.txt /var/tmp/ COPY docs/sphinx-requirements.txt /var/tmp/docs/sphinx-requirements.txt RUN \ -- cgit v1.2.1