Skip to content

Commit

Permalink
Remove restriction on ".py" filename suffix (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella authored Apr 12, 2024
1 parent d0dfc71 commit 9c1d8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codemodder/code_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ def match_files(
return [
path
for p in sorted(list(included_files - excluded_files))
if (path := Path(parent_path).joinpath(p)).is_file() and path.suffix == ".py"
if (path := Path(parent_path).joinpath(p)).is_file()
]

0 comments on commit 9c1d8da

Please sign in to comment.