Re-enabled and ran static checks.

This commit is contained in:
Relintai 2023-06-25 13:28:04 +02:00
parent bfed962f1f
commit 52144e7f36
3 changed files with 22 additions and 22 deletions

View File

@ -17,26 +17,26 @@ env:
jobs:
# static-checks:
# name: '📊 Static checks'
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
# with:
# submodules: true
# - name: Set up Python
# uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# - name: Bootstrap
# run: |
# set -eux
# python --version
# pip install pre-commit
# - name: Pre-commit hooks check
# run: |
# pre-commit run --all-files --show-diff-on-failure
static-checks:
name: '📊 Static checks'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Bootstrap
run: |
set -eux
python --version
pip install pre-commit
- name: Pre-commit hooks check
run: |
pre-commit run --all-files --show-diff-on-failure
#################################################################################

View File

@ -229,7 +229,7 @@ if env["platform"].startswith("windows") or env["platform"].startswith("osx"):
release_target = "build/pandemonium-python-${release_suffix}-${platform}.zip"
else:
release_target = "build/pandemonium-python-${release_suffix}-${platform}.tar.bz2"
release = env.Command(release_target, env["DIST_ROOT"], generate_release)
env.Alias("release", release)
env.AlwaysBuild("release")

View File

@ -172,7 +172,7 @@ GDN_EXPORT void pandemonium_gdnative_init(pandemonium_gdnative_init_options *opt
++i;
}
pythonhome[i] = '\0';
pythonscript_gdapi10->pandemonium_string_destroy(&_pythonhome);
Py_SetPythonHome(pythonhome);
}