Skip to content

Commit

Permalink
add .yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmyers13 committed May 23, 2024
1 parent b5c6e32 commit 8eb98b2
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_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
- repo: local
hooks:
- id: prevent-commit-to-main
name: Prevent Commit to Main Branch
entry: ./prevent_commit_to_main.sh
language: script
stages: [commit]

0 comments on commit 8eb98b2

Please sign in to comment.