Skip to content

Commit d94b972

Browse files
authored
Update ruff to 0.1.15 (#16846)
1 parent 8107e53 commit d94b972

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: black
1212
exclude: '^(test-data/)'
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.1.4 # must match test-requirements.txt
14+
rev: v0.1.15 # must match test-requirements.txt
1515
hooks:
1616
- id: ruff
1717
args: [--exit-non-zero-on-fix]

mypy/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3108,7 +3108,7 @@ def get_proper_types(
31083108
# to make it easier to gradually get modules working with mypyc.
31093109
# Import them here, after the types are defined.
31103110
# This is intended as a re-export also.
3111-
from mypy.type_visitor import ( # noqa: F811
3111+
from mypy.type_visitor import (
31123112
ALL_STRATEGY as ALL_STRATEGY,
31133113
ANY_STRATEGY as ANY_STRATEGY,
31143114
BoolTypeQuery as BoolTypeQuery,

test-requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ psutil>=4.0
1414
pytest>=7.4.0
1515
pytest-xdist>=1.34.0
1616
pytest-cov>=2.10.0
17-
ruff==0.1.4 # must match version in .pre-commit-config.yaml
17+
ruff==0.1.15 # must match version in .pre-commit-config.yaml
1818
setuptools>=65.5.1
1919
tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.7

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ruamel-yaml==0.17.40
6767
# via pre-commit-hooks
6868
ruamel-yaml-clib==0.2.8
6969
# via ruamel-yaml
70-
ruff==0.1.4
70+
ruff==0.1.15
7171
# via -r test-requirements.in
7272
tomli==2.0.1
7373
# via -r test-requirements.in

0 commit comments

Comments
 (0)