Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
d0b04f7e
Unverified
Commit
d0b04f7e
authored
Sep 16, 2022
by
Hongzhi (Steve), Chen
Committed by
GitHub
Sep 16, 2022
Browse files
Update pylint.yml
parent
e069549a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
.github/workflows/pylint.yml
.github/workflows/pylint.yml
+17
-9
No files found.
.github/workflows/pylint.yml
View file @
d0b04f7e
name
:
Pylint
name
:
Pylint
on
:
on
:
[
push
]
push
:
paths
:
-
'
**.py'
jobs
:
jobs
:
flake8_py3
:
build
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
]
steps
:
steps
:
-
name
:
Checkout PyTorch
-
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Set up Python ${{ matrix.python-version }}
-
name
:
Run flake8
uses
:
actions/setup-python@v3
uses
:
TrueBrain/actions-flake8@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install pylint
-
name
:
Analysing the code with pylint
run
:
|
pylint $(git diff --name-only origin/HEAD)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment