Skip to content

Commit

Permalink
precommit config update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilchreis committed Nov 7, 2024
1 parent 1a37161 commit 7bc8158
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-yaml
- id: check-merge-conflict

- repo: local
hooks:
- id: black
name: Run black
stages: [commit]
language: system
entry: black --check --diff src tests
types: [python]

- id: flake8
name: Run flake8
stages: [commit]
language: system
entry: flake8 src tests
types: [python]
verbose: true


repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-yaml
- id: check-merge-conflict

- repo: local
hooks:
- id: black
name: Run black
stages: [pre-commit]
language: system
entry: black --check --diff src tests
types: [python]

- id: flake8
name: Run flake8
stages: [pre-commit]
language: system
entry: flake8 src tests
types: [python]
verbose: true


0 comments on commit 7bc8158

Please sign in to comment.