Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2023
1 parent 4949be1 commit 8f5cce3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions tests/test_init_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def test_pre_check_log_pylint_comment(caplog) -> None:
"""Testing logging in _verify_pre_check function when checking for pyling comment"""
path = os.path.join(os.getcwd(), "../examples/pylint/pylint_comment.py")
_verify_pre_check(path, False)
assert (
f'String "pylint:" found in comment. No check run on file `{path}'
in caplog.text
)
assert f'String "pylint:" found in comment. No check run on file `{path}' in caplog.text
assert "ERROR" == caplog.records[0].levelname


Expand Down
3 changes: 2 additions & 1 deletion tests/test_init_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test for __init__.py system version check"""
import sys
import importlib
import sys

import python_ta


Expand Down

0 comments on commit 8f5cce3

Please sign in to comment.