Skip to content

Commit

Permalink
Merge pull request #9 from RazerM/feature/pre-commit-ci
Browse files Browse the repository at this point in the history
Add pre-commit action in lieu of pre-commit.ci
  • Loading branch information
RazerM authored Jan 6, 2024
2 parents 1122bbd + ee19820 commit 7f9305d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ jobs:
uses: "codecov/codecov-action@v3"
with:
fail_ci_if_error: true

pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/timothycrosley/isort
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
Expand Down

0 comments on commit 7f9305d

Please sign in to comment.