forked from mirrors/bookwyrm
Tweaks to script
This commit is contained in:
parent
5db506523d
commit
2bd56c38d2
1 changed files with 5 additions and 5 deletions
10
.github/workflows/pylint.yml
vendored
10
.github/workflows/pylint.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: Pylint
|
name: Pylint
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -9,14 +9,14 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.9
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pylint
|
pip install pylint
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
find . -name '*.py' -exec pylint {} \;
|
pylint bookwyrm/ --ignore=migrations
|
||||||
|
|
Loading…
Reference in a new issue