setup.cfg: add urls, classifiers; add pylint workflow #2
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: 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 |