Skip to content

Commit

Permalink
ci: add pre-commit-hooks to lint process
Browse files Browse the repository at this point in the history
  • Loading branch information
sumnerevans committed Jan 21, 2022
1 parent ccd679e commit c18538c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ jobs:
- uses: psf/black@21.12b0
with:
src: "./mautwitdm ./mautrix_twitter"
- name: pre-commit
run: |
pip install pre-commit
pre-commit run -av trailing-whitespace
pre-commit run -av end-of-file-fixer
pre-commit run -av check-yaml
pre-commit run -av check-added-large-files

0 comments on commit c18538c

Please sign in to comment.