Skip to content

Commit

Permalink
Update format (#693)
Browse files Browse the repository at this point in the history
* remove useless yaml file

* update format

---------

Co-authored-by: MegaMech <[email protected]>
  • Loading branch information
coco875 and MegaMech authored Oct 22, 2024
1 parent 1c957fb commit f4f57d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/clang-format-suggest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on: [pull_request]
jobs:
formatting-check:
runs-on: ubuntu-24.04
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Install Dependance
Expand Down
2 changes: 1 addition & 1 deletion tools/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def main():
else:
files = []
for folder in default_list_folder:
files += glob.glob(f"{folder}*/**/*.c", recursive=True) + glob.glob(f"{folder}*/**/*.h", recursive=True)
files += glob.glob(f"{folder}*/**/*.c", recursive=True) + glob.glob(f"{folder}*/**/*.cpp", recursive=True) + glob.glob(f"{folder}*/**/*.h", recursive=True)
files = [x for x in files if "assets" not in x]
extra_files = glob.glob("assets/**/*.xml", recursive=True)

Expand Down

0 comments on commit f4f57d6

Please sign in to comment.