Return NULL instead of Py_NONE (so it works better with Py_XDECREF) #2599
Workflow file for this run
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
name: Lint | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
- 'docs' | |
jobs: | |
clang-format: | |
runs-on: ubuntu-24.04 # latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: clang-format lint | |
run: | | |
./format-check.py | |
autopep8: | |
runs-on: ubuntu-20.04 # latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Build and Test | |
run: | | |
python3 -m pip install --upgrade setuptools | |
python3 -m pip install --upgrade wheel | |
python3 -m pip install --upgrade autopep8 | |
python3 -m autopep8 --exit-code --diff --recursive awscrt test .builder setup.py |