Skip to content

Migration

Migration #372

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements_test.txt
- name: Analysing the code with pylint
run: |
PYTHONPATH=. pylint ./db/ ./metrics/ ./formatters/ ./trackers/ ./utils/
PYTHONPATH=. pylint ./tests/
PYTHONPATH=. pylint ./*.py
flake8-lint:
runs-on: ubuntu-latest
name: flake8
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
max-line-length: "130"