Debian Codegraph @

.github/workflows/lint.yml

raw symbols SCIP
1 name: Run linters
2 on: [push, pull_request]
3
4 jobs:
5 test:
6 # The type of runner that the job will run on
7 runs-on: ubuntu-latest
8
9 # Steps represent a sequence of tasks that will be executed as part of the job
10 steps:
11 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
12 - uses: actions/checkout@v2
13 - name: Set up Python 3.x
14 uses: actions/setup-python@v2
15 with:
16 python-version: 3.x
17 - name: Install dependencies
18 run: |
19 python -m pip install --upgrade pip
20 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
21 if [ -f requirements_test.txt ]; then pip install -r requirements_test.txt; fi
22 - name: Run pylint
23 run: pylint rachiopy tests
24 - name: Run flake8
25 run: flake8
26 - name: Run pydocstyle
27 run: pydocstyle {posargs:rachiopy tests}