Fix image already loaded console error #1090
Workflow file for this run
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: Linting | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
jobs: | |
flake8: | |
name: Flake8 check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/python-cache-requirements | |
with: | |
requirements: dev-requirements.txt | |
- name: Install flake8 | |
run: | | |
pip3 install -c dev-requirements.txt flake8 | |
- name: Flake8 | |
run: | | |
flake8 project | |
isort: | |
name: iSort check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/python-cache-requirements | |
with: | |
requirements: dev-requirements.txt | |
- name: Install dependencies | |
run: | | |
pip3 install -c dev-requirements.txt isort | |
- name: Isort | |
run: | | |
isort -c project | |
black: | |
name: Black check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/python-cache-requirements | |
with: | |
requirements: dev-requirements.txt | |
- name: Install dependencies | |
run: | | |
pip3 install -c dev-requirements.txt black | |
- name: Black | |
run: | | |
black --check project |