fix color parse error #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check dependencies and lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
Install-Deps-Lint-Code: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
id: python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies using poetry | |
run: | | |
pip install poetry | |
poetry install | |
- name: Lint code with flake8 | |
run: poetry run flake8 | |
- name: Lint code with black | |
run: poetry run black --check --line-length 100 . |