admin/fix-ci-and-upgrade-lint-dependencies #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Changes
The CI was failing due to an issue with
isort
andpoetry
, upgradingisort
to>5.12.0
fixes this issue. Beyond that I noticed the versions were specified in both.pre-commit-config.yaml
&pyproject.toml
, it doesn't appear thatpre-commit
requires any of these dependencies to be installed prior to runningpre-commit
based on it ignoring whatever version I specify inpyproject.toml
and solely using the version specified by therev
in thepre-commit-config.yaml
. I tested this on MacOS as described below, but if I'm missing the value ofpyproject.toml
having the versions too let me know!Testing
Created a fresh virtual environment, installed dependencies, and ran
just lint
&just test