-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (33 loc) · 994 Bytes
/
linter.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
name: Linter
on:
push:
branches:
- master
pull_request:
jobs:
check:
name: Run Linter
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: CodeQuality
uses: JacobDomagala/StaticAnalysis@112-support-python
with:
language: "Python"
verbose: True
pylint_args: "--rcfile=.pylintrc --recursive=true"
python_dirs: "src test"
exclude_dir: "test/dummy_project"
- name: PyLint
uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "src test"
use-pylint: false
use-pycodestyle: true
use-flake8: true
use-black: true
use-mypy: true
use-isort: false
extra-mypy-options: "--ignore-missing-imports --show-error-codes"
extra-flake8-options: "--max-line-length=120 --ignore=E203,E402"
extra-pycodestyle-options: "--max-line-length=120 --ignore=E203,E402"