Skip to content

Commit

Permalink
Merge branch 'main' into document-jupyterviz-userinput
Browse files Browse the repository at this point in the history
Resolve merge conflict with recent jupyterviz refactor
  • Loading branch information
rlskoeser committed Sep 1, 2023
2 parents 016a079 + fb81c1a commit 1bd1f73
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 186 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ python:
path: .
extra_requirements:
- docs
system_packages: true
11 changes: 11 additions & 0 deletions mesa/cookiecutter-mesa/hooks/post_gen_project.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import glob
import os

file_list = glob.glob('**/*.pytemplate', recursive=True)

for file_path in file_list:
# Check if the file is a regular file
if not os.path.isfile(file_path):
continue
# Rename the file
os.rename(file_path, file_path.replace(".pytemplate", ".py"))
Loading

0 comments on commit 1bd1f73

Please sign in to comment.