Skip to content

fix: corrected issues from flake8 linter #2

fix: corrected issues from flake8 linter

fix: corrected issues from flake8 linter #2

Workflow file for this run

name: Python Lint and Test
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
workflow_dispatch:
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry install
- name: Run flake8
run: |
poetry run pflake8
- name: Run pytest
run: |
poetry run pytest