Make error messages more readable. #29
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: python lint | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'certhash' | |
- 'sgnfile' | |
- 'stripsgn' | |
- 'tlvfile' | |
- 'enccnf' | |
- '.pylintrc' | |
- '.github/workflows/pylint.yml' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'certhash' | |
- 'sgnfile' | |
- 'stripsgn' | |
- 'tlvfile' | |
- 'enccnf' | |
- '.pylintrc' | |
- '.github/workflows/pylint.yml' | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Run python linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Install packages | |
run: | | |
sudo apt install pylint python3-cryptography python3-lxml | |
- name: Run pylint | |
run: | | |
pylint certhash sgnfile stripsgn tlvfile enccnf |