Skip to content

Update python linting dependencies in-sync with pre-commit #1

Update python linting dependencies in-sync with pre-commit

Update python linting dependencies in-sync with pre-commit #1

---
name: Update python linting dependencies in-sync with pre-commit
on:
pull_request:
branches: [main]
jobs:
update-python-and-pre-commit-dependencies:
uses: tektronix/python-package-ci-cd/.github/workflows/[email protected]
with:
commit-user-name: ${{ vars.TEK_OPENSOURCE_NAME }}
commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }}
dependency-dict: '{"dev": ["pylint", "pyright"]}'
update-pre-commit: true
run-pre-commit: true
pre-commit-hook-skip-list: pylint,pyright,pyright-verifytypes,pyroma,poetry-audit
export-dependency-groups: docs,tests
permissions:
contents: write
secrets:
checkout-token: ${{ secrets.TEK_OPENSOURCE_TOKEN }}
gpg-signing-key-private: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PRIVATE }}
gpg-signing-key-passphrase: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PASSPHRASE }}