Add column_count
prop as well as col_count
#798
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_python | |
on: | |
push: | |
branches: | |
- "**" # run all branches | |
tags-ignore: | |
- "*" # ignore all tags, release.yaml will trigger the CI | |
pull_request: # run on all pull requests | |
concurrency: | |
cancel-in-progress: true | |
group: group-${{ github.ref_name }} | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.x"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install -U pip | |
- run: pip install -U bandit mypy pyupgrade safety tox setuptools | |
- run: bandit --recursive --skip B105,B110,B311,B605,B607 --exclude ./.tox . | |
if: ${{ matrix.python >= '3.8' }} | |
- run: tox -e lint | |
- run: tox -e py | |
- run: mypy --install-types --ignore-missing-imports . || true | |
- run: shopt -s globstar && pyupgrade --py3-only **/*.py # --py36-plus | |
- run: safety check -i 42559 # pip <= 20.1.1, we upgrade it just above | |
- run: tox -e build | |
- run: tox -e doc |