bookwyrm/.github/workflows/pylint.yml

29 lines
629 B
YAML
Raw Normal View History

2021-06-18 18:36:45 +00:00
name: Pylint
2021-08-02 23:08:41 +00:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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-09-18 03:58:09 +00:00
pylint bookwyrm/ --ignore=migrations,tests --disable=E1101,E1135,E1136,R0903,R0901,R0902,W0707,W0511,W0406,R0401,R0801,C0209
2021-06-18 20:23:06 +00:00