Skip to content

Commit

Permalink
Satisfy black and ruff.
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Oct 2, 2024
1 parent 52ec404 commit 1e1cdce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_pytype.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import subprocess
from subprocess import PIPE


def test_pytype():
result = subprocess.run(
['pytype', 'vulture/core.py', '--disable=attribute-error'],
stdout=PIPE, stderr=PIPE, universal_newlines=True
["pytype", "vulture/core.py", "--disable=attribute-error"],
capture_output=True,
text=True,
)
assert result.stdout.strip().endswith('Success: no errors found')
assert result.stdout.strip().endswith("Success: no errors found")

0 comments on commit 1e1cdce

Please sign in to comment.