bookwyrm/.github/workflows/pylint.yml

24 lines
511 B
YAML
Raw Normal View History

2021-06-18 18:36:45 +00:00
name: Pylint
2021-06-18 18:57:11 +00:00
on: [push, pull_request]
2021-06-18 18:36:45 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-06-18 18:57:11 +00:00
- name: Set up Python 3.9
uses: actions/setup-python@v2
2021-06-18 18:36:45 +00:00
with:
2021-06-18 18:57:11 +00:00
python-version: 3.9
2021-06-18 19:08:15 +00:00
- name: Install Dependencies
2021-06-18 18:36:45 +00:00
run: |
python -m pip install --upgrade pip
2021-06-18 19:08:15 +00:00
pip install -r requirements.txt
2021-06-18 18:36:45 +00:00
pip install pylint
- name: Analysing the code with pylint
run: |
2021-06-18 19:25:11 +00:00
pylint bookwyrm/ --ignore=migrations --disable=R,C,E1101