Skip to content

Commit

Permalink
Issue #16 use same isort version in GH actions and pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Feb 1, 2024
1 parent f103cdd commit 714a4e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install isort black ruff
python -m pip install 'isort==5.12.0' ruff
- name: isort
run: python -m isort . --check --diff
# - name: black
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repos:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: "5.12.0"
hooks:
- id: isort
name: isort (python)
Expand Down

0 comments on commit 714a4e5

Please sign in to comment.