Skip to content

Commit

Permalink
Add pre-commit config (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Nov 25, 2024
1 parent 143ac68 commit 892662c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: mixed-line-ending
- id: check-docstring-first
- id: check-json
- id: check-yaml
- id: check-xml
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks

- repo: meta
hooks:
- id: check-useless-excludes

- repo: local
hooks:
- id: lint-python
name: lint-python
entry: scripts/lint.sh
language: script
types: [python]
args: ['verify']

0 comments on commit 892662c

Please sign in to comment.