Skip to content

Commit b09de64

Browse files
authored
Merge pull request #378 from jstockwin/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents c4c08b8 + 1d2f41d commit b09de64

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_language_version:
44
python: python3.8 # pinned until pytype issue resolved
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
7+
rev: v4.6.0
88
hooks:
99
- id: check-added-large-files
1010
- id: check-merge-conflict
@@ -14,16 +14,16 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/pycqa/isort
17-
rev: 5.12.0
17+
rev: 5.13.2
1818
hooks:
1919
- id: isort
2020
args: [--profile, black]
2121
- repo: https://github.com/psf/black
22-
rev: 23.7.0
22+
rev: 24.4.2
2323
hooks:
2424
- id: black
2525
- repo: https://github.com/pycqa/flake8
26-
rev: 6.1.0
26+
rev: 7.1.0
2727
hooks:
2828
- id: flake8
2929
- repo: https://github.com/mattseymour/pre-commit-pytype
@@ -32,7 +32,7 @@ repos:
3232
- id: pytype
3333
args: ['--disable=pyi-error,import-error', '--exclude=tests']
3434
- repo: https://github.com/pre-commit/mirrors-mypy
35-
rev: 'v1.4.1'
35+
rev: 'v1.10.1'
3636
hooks:
3737
- id: mypy
3838
additional_dependencies: [types-mock]

tests/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from typing import TYPE_CHECKING, List, Optional, Union
22

3+
import _tkinter
34
import logging
45
import os
56
import tkinter as tk
67
from unittest import TestCase
78

8-
import _tkinter
99
from PIL import Image
1010

1111
if TYPE_CHECKING:

0 commit comments

Comments
 (0)