summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHernan <hernan.grecco@gmail.com>2023-04-24 20:39:10 -0300
committerHernan <hernan.grecco@gmail.com>2023-04-24 20:39:10 -0300
commit589a51bcb0d2ec7f5e2cd48995f88a030eb53efb (patch)
tree3f52cc1f3eeec45f36008363cffdbc37b0e81241 /.pre-commit-config.yaml
parent83d2bdd237055feac5ba99fbcf7a096fe4fd5af8 (diff)
downloadpint-589a51bcb0d2ec7f5e2cd48995f88a030eb53efb.tar.gz
Improved .pre-commit-config.yaml
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml25
1 files changed, 15 insertions, 10 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 74e4522..a4a3f4a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,21 +3,26 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- - id: trailing-whitespace
- - id: end-of-file-fixer
- - id: check-yaml
+ - id: check-yaml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
- repo: https://github.com/psf/black
- rev: 22.12.0
+ rev: 23.1.0
hooks:
+ - id: black
- id: black-jupyter
-- repo: https://github.com/pycqa/isort
- rev: 5.12.0
+- repo: https://github.com/charliermarsh/ruff-pre-commit
+ rev: 'v0.0.240'
hooks:
- - id: isort
-- repo: https://github.com/pycqa/flake8
- rev: 6.0.0
+ - id: ruff
+ args: ["--fix"]
+- repo: https://github.com/executablebooks/mdformat
+ rev: 0.7.16
hooks:
- - id: flake8
+ - id: mdformat
+ additional_dependencies:
+ - mdformat-gfm # GitHub-flavored Markdown
+ - mdformat-black
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks: