-
Notifications
You must be signed in to change notification settings - Fork 7
97 lines (90 loc) · 2.95 KB
/
pylint.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: Pythonlint
on:
pull_request:
push:
workflow_dispatch:
jobs:
python-isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "dpugen"
use-pylint: false
use-pycodestyle: false
use-flake8: false
use-black: false
use-mypy: false
use-isort: true
extra-isort-options: "--line-length 160 --wrap-length 80 --multi-line 3 --project dpugen --project dashgen --project saigen --force-grid-wrap 2"
python-flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "dpugen"
use-pylint: false
use-pycodestyle: false
use-flake8: true
use-black: false
use-mypy: false
use-isort: false
extra-flake8-options: "--max-line-length 160 --ignore E731"
# python-black:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: ricardochaves/python-lint@v1.4.0
# with:
# python-root-list: "dpugen"
# use-pylint: false
# use-pycodestyle: false
# use-flake8: false
# use-black: true
# use-mypy: false
# use-isort: false
# extra-black-options: ""
python-pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "dpugen"
use-pylint: true
use-pycodestyle: false
use-flake8: false
use-black: false
use-mypy: false
use-isort: false
extra-pylint-options: "--max-line-length=160 --disable=invalid-name,missing-class-docstring,dangerous-default-value,duplicate-code,missing-function-docstring,missing-module-docstring,no-member,import-error,no-name-in-module,unused-variable,too-many-locals,redefined-builtin,attribute-defined-outside-init,fixme,too-many-nested-blocks,eval-used,super-init-not-called"
# python-pycodestyle:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: ricardochaves/python-lint@v1.4.0
# with:
# python-root-list: "dpugen"
# use-pylint: false
# use-pycodestyle: true
# use-flake8: false
# use-black: false
# use-mypy: false
# use-isort: false
# extra-pycodestyle-options: "--max-line-length=160"
# python-mypy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: ricardochaves/python-lint@v1.4.0
# with:
# python-root-list: "dpugen"
# use-pylint: false
# use-pycodestyle: false
# use-flake8: false
# use-black: false
# use-mypy: true
# use-isort: false
# extra-mypy-options: ""