Remove pre-commit config in gitignore

This commit is contained in:
abdulhakeem 2025-02-13 23:15:10 -06:00
parent c762bae9f0
commit ad318c5b8e
2 changed files with 21 additions and 3 deletions

3
.gitignore vendored
View file

@ -45,6 +45,3 @@ htmlcov/
# Jupyter Notebook
.ipynb_checkpoints/
.virtual_documents/
# Pre-commit config
.pre-commit-config.yaml

21
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,21 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.1.1
hooks:
- id: black
language_version: python3.11
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
exclude: GALLERY.md