Skip to content

Commit 16d4e39

Browse files
committed
Static checking: enforce refurb
* configuration in pyproject.toml * move pylint configuration to pyproject.toml
1 parent e7c3f77 commit 16d4e39

File tree

6 files changed

+92
-551
lines changed

6 files changed

+92
-551
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,23 @@ jobs:
8282
run: |
8383
black --check exec_helpers
8484
85+
Refurb:
86+
runs-on: ubuntu-latest
87+
steps:
88+
- uses: actions/checkout@v4
89+
- name: Set up Python
90+
uses: actions/setup-python@v4
91+
with:
92+
python-version: '3.x'
93+
- name: Install dependencies
94+
run: |
95+
python -m pip install --upgrade pip
96+
pip install --upgrade refurb
97+
- name: Lint with refurb
98+
run: |
99+
refurb exec_helpers
85100
Test:
86-
needs: [PEP8, PyLint, MyPy, Black] # isort is broken
101+
needs: [PEP8, PyLint, MyPy, Black, Refurb] # isort is broken
87102
runs-on: ${{ matrix.os }}
88103
strategy:
89104
max-parallel: 6

0 commit comments

Comments
 (0)