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 5256cd6
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,
universal_newlines=True,
)
assert result.stdout.strip().endswith('Success: no errors found')
assert result.stdout.strip().endswith("Success: no errors found")

0 comments on commit 5256cd6

Please sign in to comment.