Skip to content

Commit

Permalink
Merge pull request #127 from Pennycook/remove-legacy-warnings
Browse files Browse the repository at this point in the history
Remove legacy_warnings
  • Loading branch information
Pennycook authored Nov 26, 2024
2 parents 184176e + 209341b commit 31ee6e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion codebasin/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ def _main():
rootdir,
codebase,
configuration,
legacy_warnings=False,
show_progress=True,
)

Expand Down
8 changes: 0 additions & 8 deletions codebasin/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ def find(
configuration,
*,
summarize_only=True,
legacy_warnings=True,
show_progress=False,
):
"""
Expand All @@ -163,13 +162,6 @@ def find(
filenames = set(codebase)
for p in configuration:
for e in configuration[p]:
if e["file"] not in codebase:
filename = e["file"]
if legacy_warnings:
log.warning(
f"{filename} found in definition of platform {p} "
+ "but missing from codebase",
)
filenames.add(e["file"])
for f in tqdm(
filenames,
Expand Down

0 comments on commit 31ee6e3

Please sign in to comment.