forked from rahul-deepsource/pyaction
-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (36 loc) · 984 Bytes
/
all-lints.yml
File metadata and controls
39 lines (36 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
push:
pull_request:
name: Lint Python
jobs:
lintpython:
name: Lint Python
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
exclude:
- os: macos-latest
python-version: 3.10
- os: macos-14
python-version: 3.8
- os: macos-14
python-version: 3.9
- os: macos-14
python-version: 3.10
steps:
- uses: actions/checkout@v6
- uses: ./
with:
python-root-list: "./tests/*.py ./tests/subtest/*.py"
use-black: true
use-isort: true
use-mypy: true
use-pycodestyle: true
use-pydocstyle: true
extra-pycodestyle-options: "--max-line-length=88"
use-pylint: false
use-flake8: false
use-vulture: true
python-version: ${{ matrix.python-version }}