Skip to content

Commit

Permalink
install pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ElNiak committed Jun 5, 2024
1 parent dd11341 commit a736aea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
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: [production]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
# - id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
Expand Down

0 comments on commit a736aea

Please sign in to comment.