Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
default_language_version:
python: python3.8

default_stages: [commit, push]
default_stages: [pre-commit, pre-push]

fail_fast: true

minimum_pre_commit_version: '1.15.0'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -40,8 +40,8 @@ repos:
args: [--markdown-linebreak-ext=md] # Preserve Markdown hard linebreaks
#
# Docformatter https://pypi.org/project/docformatter/
- repo: https://github.com/myint/docformatter
rev: v1.3.1
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args:
Expand All @@ -56,13 +56,13 @@ repos:

# Add trailing commas https://github.com/asottile/add-trailing-comma
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.0.1
rev: v3.1.0
hooks:
- id: add-trailing-comma

# iSort https://pycqa.github.io/isort/
- repo: https://github.com/timothycrosley/isort
rev: 5.6.4
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args:
Expand All @@ -75,16 +75,16 @@ repos:

# Black https://black.readthedocs.io/en/stable/
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 24.10.0
hooks:
- id: black
args:
- --target-version=py38
- --line-length=79

# Flask8 https://flake8.pycqa.org/en/latest/index.html#
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
exclude: description.py
Expand All @@ -96,7 +96,7 @@ repos:

# Unimport https://unimport.hakancelik.dev/#/
- repo: https://github.com/hakancelik96/unimport
rev: 0.6.8
rev: 1.2.1
hooks:
- id: unimport
args:
Expand All @@ -107,19 +107,19 @@ repos:

# Pyupgrade https://github.com/asottile/pyupgrade
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
rev: v3.19.0
hooks:
- id: pyupgrade

# Saftey https://pyup.io/safety/
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.1.3
rev: v1.3.3
hooks:
- id: python-safety-dependencies-check
#
# Interrogate https://interrogate.readthedocs.io/en/latest/
- repo: https://github.com/econchick/interrogate
rev: 7a0823fb29ddcd955eaf3aa91e7e93c8ca6bfbfd
rev: 1.7.0
hooks:
- id: interrogate
args:
Expand Down