Browse Source

downgrade Pylint to avoid false positive

The MMGen Project 9 months ago
parent
commit
e48ea94195
3 changed files with 4 additions and 3 deletions
  1. 1 1
      .github/workflows/pylint.yaml
  2. 1 1
      mmgen/data/version
  3. 2 1
      test-requirements.txt

+ 1 - 1
.github/workflows/pylint.yaml

@@ -37,7 +37,7 @@ jobs:
     - name: Install Python dependencies
       run: |
         python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
-        python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint pylint
+        python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint pylint==3.1.1
         python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1 monero
         python3 setup.py build_ext --inplace
 

+ 1 - 1
mmgen/data/version

@@ -1 +1 @@
-14.1.dev31
+14.1.dev32

+ 2 - 1
test-requirements.txt

@@ -1,3 +1,4 @@
 pycoin
 monero
-pylint
+pylint==3.1.1
+# pylint 3.2.0 fails with import errors for mmgen.term and mmgen.proto.secp256k1.secp256k1