Update README.md #31
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: format | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-versions: [3.10.1] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Generate report for 'understandingbitcoin' module | |
# c0103: Variable name doesn't conform to snake_case naming style | |
# r0903: Too few public methods | |
# c2401: Function contains a non-ASCII character | |
run: pylint ./understandingbitcoin --fail-under=10 --disable=c0103,r0903,c2401 | |
- name: Generate report for 'test' module | |
# c0114: Missing module docstring | |
# c0116: Missing function or method docstring | |
# c0301: Line too long | |
# r0904: Too many public methods | |
run: pylint ./test --fail-under=10 --disable=c0114,c0116,c0301,r0904 |