Skip to content

Commit

Permalink
Autoupdate pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hakancelikdev committed Dec 23, 2023
1 parent 1376d49 commit 4db41d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ exclude: tests/cases/(refactor|source).*

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

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

Expand All @@ -17,28 +17,28 @@ repos:
- id: unimport

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies: [types-toml==0.1.3]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
files: "\\.(py|.txt|.yaml|.json|.in|.md|.toml|.cfg|.html|.yml)$"

- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py38-plus]

- repo: https://github.com/hakancelikdev/unexport
rev: 0.4.0
Expand Down
2 changes: 1 addition & 1 deletion src/unimport/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import typing
from pathlib import Path

from pathspec.patterns.gitwildmatch import GitWildMatchPattern
from pathspec.patterns import GitWildMatchPattern

import unimport.constants as C

Expand Down

0 comments on commit 4db41d8

Please sign in to comment.