forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
3,920 changed files
with
670,771 additions
and
188,507 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
|
||
- name: Install Python dependencies and general setup | ||
run: | | ||
pip3 install black==23.3.0 pytest==7.1.2 mypy==0.971 | ||
pip3 install pytest==7.1.2 mypy==0.971 | ||
git config diff.wsErrorHighlight all | ||
- name: Get changed files | ||
|
@@ -46,6 +46,9 @@ jobs: | |
run: | | ||
bash ./misc/scripts/gitignore_check.sh | ||
- name: Style checks via pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
- name: File formatting checks (file_format.sh) | ||
run: | | ||
bash ./misc/scripts/file_format.sh changed.txt | ||
|
@@ -54,14 +57,6 @@ jobs: | |
run: | | ||
bash ./misc/scripts/header_guards.sh changed.txt | ||
- name: Python style checks via black (black_format.sh) | ||
run: | | ||
if grep -qE '\.py$|SConstruct|SCsub' changed.txt || [ -z "$(cat changed.txt)" ]; then | ||
bash ./misc/scripts/black_format.sh | ||
else | ||
echo "Skipping Python formatting as no Python files were changed." | ||
fi | ||
- name: Python scripts static analysis (mypy_check.sh) | ||
run: | | ||
if grep -qE '\.py$|SConstruct|SCsub' changed.txt || [ -z "$(cat changed.txt)" ]; then | ||
|
@@ -76,7 +71,7 @@ jobs: | |
- name: JavaScript style and documentation checks via ESLint and JSDoc | ||
run: | | ||
if grep -q "platform/web" changed.txt || [ -z "$(cat changed.txt)" ]; then | ||
if grep -q "\.js" changed.txt || [ -z "$(cat changed.txt)" ]; then | ||
cd platform/web | ||
npm ci | ||
npm run lint | ||
|
@@ -92,25 +87,11 @@ jobs: | |
- name: Documentation checks | ||
run: | | ||
doc/tools/doc_status.py doc/classes modules/*/doc_classes platform/*/doc_classes | ||
doc/tools/make_rst.py --dry-run --color doc/classes modules platform | ||
- name: Style checks via clang-format (clang_format.sh) | ||
run: | | ||
clang-format --version | ||
bash ./misc/scripts/clang_format.sh changed.txt | ||
- name: Style checks via dotnet format (dotnet_format.sh) | ||
run: | | ||
if grep -q "modules/mono" changed.txt || [ -z "$(cat changed.txt)" ]; then | ||
bash ./misc/scripts/dotnet_format.sh | ||
else | ||
echo "Skipping dotnet format as no C# files were changed." | ||
fi | ||
- name: Spell checks via codespell | ||
if: github.event_name == 'pull_request' && env.CHANGED_FILES != '' | ||
uses: codespell-project/actions-codespell@v2 | ||
with: | ||
skip: "./bin,./thirdparty,*.desktop,*.gen.*,*.po,*.pot,*.rc,./AUTHORS.md,./COPYRIGHT.txt,./DONORS.md,./core/input/gamecontrollerdb.txt,./core/string/locales.h,./editor/project_converter_3_to_4.cpp,./misc/scripts/codespell.sh,./platform/android/java/lib/src/com,./platform/web/node_modules,./platform/web/package-lock.json" | ||
ignore_words_list: "curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,mis,nd,numer,ot,requestor,te,vai" | ||
ignore_words_list: "breaked,curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,mis,nd,numer,ot,requestor,te,vai" | ||
path: ${{ env.CHANGED_FILES }} |
Oops, something went wrong.