2020-01-08 21:39:31 +08:00
|
|
|
name: Pylint
|
|
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
2021-06-21 13:32:13 -04:00
|
|
|
- name: Set up Python 3.9
|
|
|
|
|
uses: actions/setup-python@v2
|
2020-01-08 21:39:31 +08:00
|
|
|
with:
|
2021-06-21 13:32:13 -04:00
|
|
|
python-version: 3.9
|
2020-01-08 21:39:31 +08:00
|
|
|
- name: Install dependencies
|
|
|
|
|
run: |
|
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
|
pip install pylint
|
2020-09-16 14:49:17 +04:00
|
|
|
- name: Analysing the code with pylint
|
2020-01-08 21:39:31 +08:00
|
|
|
run: |
|
|
|
|
|
pylint `ls -R|grep .py$|xargs`
|