Skip to content

Commit

Permalink
sqa: add pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Nov 19, 2024
1 parent 4e25e6f commit e7d0d79
Show file tree
Hide file tree
Showing 91 changed files with 2,173 additions and 673 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test xlsxwriter code style and linting

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install pytest flake8 black ruff pylint polars pandas
- name: Test the code style
run: |
make lint
make test_flake8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.8", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["pypy-3.8", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand All @@ -27,12 +27,7 @@ jobs:
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install pytest flake8 black ruff
- name: Test the code style
run: |
make lint
make test_flake8
pip install pytest
- name: Test with pytest
run: |
Expand Down
Loading

0 comments on commit e7d0d79

Please sign in to comment.