added collage, hstack and vstack to augly #1015
This file contains hidden or 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_python | |
| on: | |
| pull_request: | |
| branches: main | |
| push: | |
| branches: main | |
| jobs: | |
| lint_python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| - run: pip install bandit click==8.0.4 black==22.3.0 codespell flake8 isort pyre-check pytest pyupgrade | |
| - run: bandit --recursive --skip B101,B301,B303,B311,B324,B403,B613 . | |
| - run: black --check . | |
| - run: codespell --ignore-words-list="tha" --skip="*/text_tests,*assets/text/*,*examples/*,*/text/augmenters/utils.py" | |
| - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| - run: flake8 . --count --exit-zero --max-complexity=15 --max-line-length=90 --show-source --statistics | |
| - run: isort --check-only --profile black . || true | |
| - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true |