Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire authored Aug 30, 2024
1 parent 9c0bcfa commit bbb6fb0
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,48 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=100000']
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-json
- id: mixed-line-ending
- id: check-ast
- id: check-merge-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args:
- '--maxkb=100000'
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-json
- id: mixed-line-ending
- id: check-ast
- id: check-merge-conflict

- repo: https://github.com/astral-sh/ruff-pre-commit
- repo: 'https://github.com/astral-sh/ruff-pre-commit'
rev: v0.6.3
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- id: ruff
args:
- '--fix'
- id: ruff-format

- repo: https://github.com/asottile/blacken-docs
- repo: 'https://github.com/asottile/blacken-docs'
rev: 1.18.0
hooks:
- id: blacken-docs
additional_dependencies: [black]
- id: blacken-docs
additional_dependencies:
- black

- repo: https://github.com/asottile/pyupgrade
- repo: 'https://github.com/asottile/pyupgrade'
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- id: pyupgrade
args:
- '--py37-plus'

- repo: https://github.com/pre-commit/mirrors-mypy
- repo: 'https://github.com/pre-commit/mirrors-mypy'
rev: v1.11.2
hooks:
- id: mypy
- id: mypy
additional_dependencies:
- types-requests

0 comments on commit bbb6fb0

Please sign in to comment.