Revert "rembg b - return a stream of RGB24 instead of a mess of consecutive pngs" #511
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: Lint | |
on: [pull_request, push] | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install dependencies | |
run: pip install .[cpu,cli,dev] | |
- run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg | |
- run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg | |
- run: black --force-exclude rembg/_version.py --check --diff ./rembg | |
- run: flake8 ./rembg --count --ignore=B008,C901,E203,E266,E731,F401,F811,F841,W503,E501,E402 --show-source --statistics --exclude ./rembg/_version.py | |
- run: isort --check-only --profile black ./rembg |