diff options
author | Iwan Aucamp <aucampia@gmail.com> | 2022-05-15 10:37:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-15 10:37:04 +0200 |
commit | d5eb95727c0158293f2981b574ed8f3a1ddb1ac5 (patch) | |
tree | e02975cfe40fe12de9ffb8a04d42c8d9bd38b03a /Dockerfile.devcontainer | |
parent | b13655efa170edcb90c55d1e0b7377476efa4dfa (diff) | |
download | rdflib-d5eb95727c0158293f2981b574ed8f3a1ddb1ac5.tar.gz |
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 <cclauss@me.com>
Diffstat (limited to 'Dockerfile.devcontainer')
-rw-r--r-- | Dockerfile.devcontainer | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |