diff options
author | Hernan <hernan.grecco@gmail.com> | 2023-04-24 20:39:10 -0300 |
---|---|---|
committer | Hernan <hernan.grecco@gmail.com> | 2023-04-24 20:39:10 -0300 |
commit | 589a51bcb0d2ec7f5e2cd48995f88a030eb53efb (patch) | |
tree | 3f52cc1f3eeec45f36008363cffdbc37b0e81241 /.pre-commit-config.yaml | |
parent | 83d2bdd237055feac5ba99fbcf7a096fe4fd5af8 (diff) | |
download | pint-589a51bcb0d2ec7f5e2cd48995f88a030eb53efb.tar.gz |
Improved .pre-commit-config.yaml
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 25 |
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: |