-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.12 KB
/
python-lint.yml
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
38
39
40
41
# https://github.com/marketplace/actions/python-code-quality-and-lint
name: python-lint
on:
push:
branches: ["*"]
paths:
["**.py"]
pull_request:
branches: ["*"]
paths:
["**.py"]
jobs:
python-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ricardochaves/[email protected]
with:
# python-root-list: "python_alelo tests"
use-pylint: false
use-pycodestyle: false
use-flake8: false
use-black: true
use-mypy: false
use-isort: false
# extra-pylint-options: ""
# extra-pycodestyle-options: ""
# extra-flake8-options: ""
# extra-black-options: ""
# extra-mypy-options: ""
# extra-isort-options: ""
# pylint $(extra-pylint-options) $(python-root-list)
# pycodestyle $(extra-pycodestyle-options) $(python-root-list)
# flake8 $(extra-flake8-options) $(python-root-list)
# black --check $(extra-black-options) $(python-root-list)
# mypy $(extra-mypy-options) $(python-root-list)
# isort $(extra-isort-options) $(python-root-list) -c --diff