Skip to content

Commit

Permalink
ignored a flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Maas committed Sep 18, 2022
1 parent 73830a6 commit 5da924a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deptry/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _get_top_level_module_names_from_record_file(self):
top_levels = []
try:
metadata_records = metadata.distribution(self.name).read_text("RECORD").split("\n")
except:
except: # noqa: E722
return []
for line in metadata_records:
match = re.match("([a-zA-Z0-9-_]+)/", line)
Expand Down

0 comments on commit 5da924a

Please sign in to comment.