Skip to content

Commit

Permalink
ci: run pre-commit automatically in CI (#74)
Browse files Browse the repository at this point in the history
* GitHub Actions: Run pre-commit

* Update test_endpointer.py

* pip install --editable .

* tool.isort.known_first_party = ["soundswallower"]
  • Loading branch information
cclauss authored Dec 12, 2024
1 parent 151377a commit 96a86b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ on:
- main
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ skip = [
archs = ["x86_64", "universal2", "arm64"]

[tool.isort]
known_first_party = ["soundswallower"]
profile = "black"

[tool.flake8]
Expand Down

0 comments on commit 96a86b1

Please sign in to comment.