Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#139)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/asottile/pyupgrade: v3.3.1 → v3.15.0](asottile/pyupgrade@v3.3.1...v3.15.0)
- [github.com/psf/black: 23.1.0 → 24.2.0](psf/black@23.1.0...24.2.0)
- [github.com/pycqa/flake8: 6.0.0 → 7.0.0](PyCQA/flake8@6.0.0...7.0.0)
- [github.com/pre-commit/mirrors-mypy: v1.1.1 → v1.8.0](pre-commit/mirrors-mypy@v1.1.1...v1.8.0)
- [github.com/PyCQA/pylint: v2.17.0 → v3.0.3](pylint-dev/pylint@v2.17.0...v3.0.3)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 15, 2024
1 parent 9100d53 commit f22e3b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # Use the ref you want to point at
rev: v4.5.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-executables-have-shebangs
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.8.0
hooks:
- id: mypy
# empty args needed in order to match mypy cli behavior
Expand All @@ -37,7 +37,7 @@ repos:
- types-setuptools
- types-docutils
- repo: https://github.com/PyCQA/pylint
rev: v2.17.0
rev: v3.0.3
hooks:
- id: pylint
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions src/doc8/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""doc8 - A docutils linter."""

from __future__ import annotations
from doc8.version import __version__
from doc8.main import doc8 # noqa
Expand Down

0 comments on commit f22e3b8

Please sign in to comment.