Update dependency coverage to v7.5.2 #399
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: | |
push: | |
branches-ignore: | |
- 'whitesource-remediate/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: '3.9' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Set up Poetry | |
uses: abatilo/actions-poetry@v3 | |
with: | |
poetry-version: '1.5.1' | |
- run: poetry install | |
- run: poetry run isort --check . | |
- run: poetry run flake8 . | |
- run: poetry run mypy . | |
- run: | | |
poetry run licenseheaders -t LICENSE_HEADER.txt -E .py | |
git diff --name-only . | |
git diff --quiet --name-only . || exit -1 |