Skip to content

Commit

Permalink
Pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Jan 11, 2024
1 parent 8a6818f commit 15ea6e7
Showing 1 changed file with 42 additions and 28 deletions.
70 changes: 42 additions & 28 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,55 @@
ci:
autoupdate_schedule: quarterly
# autoupdate_schedule: quarterly
autofix_prs: false

repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: mixed-line-ending


- repo: https://github.com/psf/black
rev: 22.10.0
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-yaml
- id: debug-statements
- id: mixed-line-ending

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: black
- id: black-jupyter
- id: pyupgrade
args:
- "--py38-plus"

- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
hooks:
- id: flake8
- id: blackdoc

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.1.11"
hooks:
- id: isort
- id: ruff
args: ["--fix"]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.0.0-alpha.4'
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
name: prettier-markdown
entry: prettier --write --parser mdx
files: "\\.(\
|md|markdown|mdown|mkdn\
|mdx\
)$"

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
hooks:
- id: nbqa-ruff
args: ["--fix"]
- id: nbqa-isort
args: ["--profile=black"]
additional_dependencies: [isort==5.6.4]
- id: nbqa-black
- id: nbqa-pyupgrade
args: ["--py37-plus"]

0 comments on commit 15ea6e7

Please sign in to comment.