Skip to content

Commit

Permalink
Added pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MPCodeWriter21 committed Mar 27, 2024
1 parent f47a27b commit 0bff558
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
default_language_version:
python: python3.11
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
- id: double-quote-string-fixer

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort

- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
additional_dependencies: [tomli]
args: [./pyproject.toml]

0 comments on commit 0bff558

Please sign in to comment.