Skip to content

Commit

Permalink
ci: Add pre-commit and remove every other type checker and linter
Browse files Browse the repository at this point in the history
With pre-commit, we can use all these tools in one action.
  • Loading branch information
TheEvilSkeleton committed Dec 18, 2024
1 parent 8ebc65e commit 90f1c5d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 150 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/mypy.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
37 changes: 0 additions & 37 deletions .github/workflows/pylint-checker.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/pylint-commenter.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/pytest.yml

This file was deleted.

0 comments on commit 90f1c5d

Please sign in to comment.