Skip to content

feat: added unittest #2

feat: added unittest

feat: added unittest #2

Workflow file for this run

name: "Lint and Formatting"
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint
run: |
pip install pylint
pylint --fail-under=9.5 src/
- name: Format
run: |
pip install black
black src/ --check