Skip to content

Commit

Permalink
Pin pre-commit to py3.11
Browse files Browse the repository at this point in the history
Some dependencies (namely autoflake) are not compatible with py3.12 yet.

Pinning pre-commit to py3.11 until we can move to py3.12. There is no reason for having a pre-commit on a later version than what orion supports anyway.
  • Loading branch information
bouthilx authored Nov 3, 2023
1 parent 0bb9051 commit d4dd8ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.11
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
Expand Down

0 comments on commit d4dd8ea

Please sign in to comment.