Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#89)
Browse files Browse the repository at this point in the history
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0)

Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and JelleZijlstra authored Nov 14, 2023
1 parent 67eef05 commit fa00744
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 23.11.0
hooks:
- id: black
language_version: python3.9
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ commands =

[testenv:black]
deps =
black == 23.7.0
black == 23.11.0
commands =
black --check .

[testenv:mypy]
deps =
mypy == 1.4.1
mypy == 1.7.0
types-setuptools
commands =
mypy .
Expand Down
6 changes: 3 additions & 3 deletions typeshed_client/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def get_search_context(
if search_path is None:
if python_executable is None:
python_executable = sys.executable
raw_path = subprocess.check_output(
[python_executable, "-c", "import sys, json; print(json.dumps(sys.path))"]
)
raw_path = subprocess.check_output([
python_executable, "-c", "import sys, json; print(json.dumps(sys.path))"
])
search_path = [Path(path) for path in json.loads(raw_path) if path]
else:
if python_executable is not None:
Expand Down

0 comments on commit fa00744

Please sign in to comment.