Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
amyasnikov committed Mar 25, 2024
1 parent 46d7bf0 commit d67a0fb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
default_stages: [pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace

- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
args: [validity]

- id: isort
name: isort
entry: isort
language: system
types: [python]
args: [validity]

- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
args: [validity]

0 comments on commit d67a0fb

Please sign in to comment.