Skip to content

Commit cba6353

Browse files
committed
format
1 parent 474ad1c commit cba6353

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ repos:
1010
hooks:
1111
- id: rst-linter
1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.10.1
13+
rev: 5.12.0
1414
hooks:
15-
- id: isort
15+
- id: isort

pylsp_mypy/plugin.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,7 @@ def get_diagnostics(
252252
# mypy exists on path
253253
# -> use mypy on path
254254
log.info("executing mypy args = %s on path", args)
255-
completed_process = subprocess.run(
256-
["mypy", *args], capture_output=True, **windows_flag
257-
)
255+
completed_process = subprocess.run(["mypy", *args], capture_output=True, **windows_flag)
258256
report = completed_process.stdout.decode()
259257
errors = completed_process.stderr.decode()
260258
exit_status = completed_process.returncode
@@ -289,7 +287,7 @@ def get_diagnostics(
289287
subprocess.run(
290288
["dmypy", "--status-file", dmypy_status_file, "restart"],
291289
capture_output=True,
292-
**windows_flag
290+
**windows_flag,
293291
)
294292
else:
295293
# dmypy does not exist on path, but must exist in the env pylsp-mypy is installed in

0 commit comments

Comments
 (0)