Skip to content

Commit

Permalink
skip generated python files in pkg-gen templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Mar 19, 2024
1 parent 2934fd3 commit 89f9b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype2pydra/pkg_gen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def copy_ignore(_, names):

# Replace "CHANGEME" string with pkg name
for fspath in pkg_dir.glob("**/*"):
if fspath.is_dir():
if fspath.is_dir() or fspath.suffix in (".pyc", ".pyo", ".pyd"):
continue
with open(fspath) as f:
contents = f.read()
Expand Down

0 comments on commit 89f9b77

Please sign in to comment.