Merge pull request #1173 from LedgerHQ/abo_fine_tune_hta #453
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: Checks on the Python tools | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
name: Client linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
- name: Installing PIP dependencies | |
run: pip install pylint PyGithub GitPython ledgered | |
- name: Lint Python code | |
run: pylint --rc setup.cfg .github/workflows/scripts/ | |
mypy: | |
name: Type checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
- name: Installing PIP dependencies | |
run: pip install mypy PyGithub GitPython ledgered | |
- name: Mypy type checking | |
run: mypy .github/workflows/scripts/ |