Skip to content

Commit

Permalink
extract code quality GHA to is own job
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwojcik committed Feb 2, 2025
1 parent 6ef1579 commit 8114f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install dependencies
run: |
poetry install --all-extras
poetry install --only code-quality --verbose
echo "Installed packages:"
poetry show
echo "Active environment:"
Expand All @@ -64,9 +64,3 @@ jobs:
git diff
exit 1
fi
- name: Run hooks (if previous step failed)
if: failure()
run: |
echo "Attempting to run make run-hooks directly..."
make run-hooks --debug
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ruff = "^0.0.241"
docformatter = "^1.5.1"
pyupgrade = "^3.3.1"
pre-commit-hooks = "^4.4.0"
pre-commit = "^3.5.0" # Add this line

[tool.poetry.group.docs.dependencies]
sphinx = "^6.1.3"
Expand Down

0 comments on commit 8114f18

Please sign in to comment.