diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd3cdc6..f3428ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -310,7 +310,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: 3.9 - name: GDFormat Check run: | python -m pip install -r requirements.txt diff --git a/misc/hooks/pre-commit-gdformat b/misc/hooks/pre-commit-gdformat index b509626..280b93c 100755 --- a/misc/hooks/pre-commit-gdformat +++ b/misc/hooks/pre-commit-gdformat @@ -6,7 +6,7 @@ set -e -GDTOOLKIT_VERSION=c514a022f7e566f06a0c68058727737fe0d8b33c +GDTOOLKIT_VERSION=3.5.0 FILES=$(git diff --cached --name-only --diff-filter=ACMR | grep '\.gd$' | grep -v '^addons/gd-plug' | grep -v '^addons/gut' | sed 's| |\\ |g') echo $FILES diff --git a/requirements.txt b/requirements.txt index 59e5f66..a733b06 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1 @@ -colorama==0.4.5 -docopt==0.6.2 -future==0.18.2 -gdtoolkit==3.4.0 -lark-parser==0.8.0 -mando==0.6.4 -PyYAML==6.0 -radon==5.1.0 -six==1.16.0 +gdtoolkit==3.5.0