Skip to content

Commit e8092d6

Browse files
[pre-commit.ci] pre-commit autoupdate (#90)
updates: - [github.com/psf/black: 23.11.0 → 24.1.1](psf/black@23.11.0...24.1.1)
1 parent fa00744 commit e8092d6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.11.0
3+
rev: 24.1.1
44
hooks:
55
- id: black
66
language_version: python3.9

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ commands =
99

1010
[testenv:black]
1111
deps =
12-
black == 23.11.0
12+
black == 24.1.1
1313
commands =
1414
black --check .
1515

1616
[testenv:mypy]
1717
deps =
18-
mypy == 1.7.0
18+
mypy == 1.8.0
1919
types-setuptools
2020
commands =
2121
mypy .

typeshed_client/finder.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def get_search_context(
7373
if search_path is None:
7474
if python_executable is None:
7575
python_executable = sys.executable
76-
raw_path = subprocess.check_output([
77-
python_executable, "-c", "import sys, json; print(json.dumps(sys.path))"
78-
])
76+
raw_path = subprocess.check_output(
77+
[python_executable, "-c", "import sys, json; print(json.dumps(sys.path))"]
78+
)
7979
search_path = [Path(path) for path in json.loads(raw_path) if path]
8080
else:
8181
if python_executable is not None:

0 commit comments

Comments
 (0)