Skip to content

Cocktail pictures and ingredient order #23

Cocktail pictures and ingredient order

Cocktail pictures and ingredient order #23

Workflow file for this run

name: Linting
on: [pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
with:
src: './src'
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install pylint
pip install -r requirements.txt
- name: Lint with Pylint
run: pylint src
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pylint mypy
pip install -r requirements.txt
- name: Lint with Pylint
run: mypy src