Skip to content

Merge pull request #24 from xcoder-tool/linting-fixes #34

Merge pull request #24 from xcoder-tool/linting-fixes

Merge pull request #24 from xcoder-tool/linting-fixes #34

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install requirements
run: |
pip install flake8 pyright
pip install -r requirements.txt
- name: Linting code by flake8
run: |
flake8 --show-source --statistics
- name: Check types by pyright
run: |
pyright