123456789101112131415161718192021222324252627282930313233343536 |
- name: Pylint
- on: [push]
- jobs:
- test:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: ["3.9","3.10","3.11"]
- steps:
- - uses: actions/checkout@v3
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v3
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install Ubuntu dependencies
- run: sudo apt-get update && sudo apt-get install curl
- - name: Install Python dependencies
- run: |
- python3 -m pip install --upgrade pip
- python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
- python3 -m pip install pycryptodomex pysocks
- python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1
- python3 -m pip install pylint
- - name: Check the code with pylint static code analyzer
- run: |
- pylint --errors-only mmgen
- pylint --errors-only test
- pylint --errors-only --disable=relative-beyond-top-level test/cmdtest_py_d
|