Skip to content

Commit 4488b5a

Browse files
committed
Apply Ruff formatting
Signed-off-by: Monal-Reddy <monalreddy001@gmail.com>
1 parent ea3bc2b commit 4488b5a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scanpipe/pipes/flag.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"*.shasum",
9191
]
9292

93+
9394
def flag_empty_files(project):
9495
"""Flag empty files as ignored."""
9596
qs = (

scanpipe/tests/pipes/test_flag.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def test_nuget_ignored_patterns_match_expected_files(self):
152152
]
153153
for path in paths:
154154
matched = any(
155-
fnmatch(path, pattern)
156-
for pattern in flag.NUGET_IGNORED_PATTERNS
155+
fnmatch(path, pattern) for pattern in flag.NUGET_IGNORED_PATTERNS
157156
)
158157
self.assertTrue(matched, path)

0 commit comments

Comments
 (0)