Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
haarcuba committed Nov 17, 2024
1 parent 02460d9 commit e31319a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion foxylint/loggingcase.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import re
import ast


class _AnalyzeFile:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_blackbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

HERE = pathlib.Path(__file__).parent


@pytest.fixture
def files():
good = str(HERE / 'fixtures' / 'good.py')
Expand All @@ -20,6 +21,7 @@ def test_imports(files):
assert findings[files.good]['ok'] is True
assert findings[files.bad]['ok'] is False


def test_loggingcase(files):
findings = foxylint.loggingcase.analyze([files.good, files.bad])
assert findings[files.good]['ok'] is True
Expand Down

0 comments on commit e31319a

Please sign in to comment.