Skip to content

Commit e7d0d79

Browse files
committed
sqa: add pylint fixes
1 parent 4e25e6f commit e7d0d79

File tree

91 files changed

+2173
-673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2173
-673
lines changed

.github/workflows/python-lint.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test xlsxwriter code style and linting
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Install test dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install pytest flake8 black ruff pylint polars pandas
31+
32+
- name: Test the code style
33+
run: |
34+
make lint
35+
make test_flake8

.github/workflows/python-app.yml renamed to .github/workflows/python-test.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["pypy-3.8", "3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["pypy-3.8", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -27,12 +27,7 @@ jobs:
2727
- name: Install test dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install pytest flake8 black ruff
31-
32-
- name: Test the code style
33-
run: |
34-
make lint
35-
make test_flake8
30+
pip install pytest
3631
3732
- name: Test with pytest
3833
run: |

0 commit comments

Comments
 (0)