urda / nistbeacon

Python 3 Library to access the NIST Randomness Beacon
https://urda.github.io/nistbeacon/
Apache License 2.0
10 stars 2 forks source link

Pylint Failures #25

Closed urda closed 7 years ago

urda commented 7 years ago

pylint seems to be throwing some issues after upgrading it. pylint needs to be rolled back a version or the problems need to be fixed.

Reproduction Steps:

  1. make test
  2. Observe pylint failures

Expected behavior:

pylint should not fail!

Observed behavior:

************* Module nistbeacon.nistbeacon

C:149, 0: Exactly one space required around keyword argument assignment

            download: bool=True

                          ^ (bad-whitespace)

R: 69,12: Unnecessary "else" after "return" (no-else-return)

R:160, 8: Unnecessary "else" after "return" (no-else-return)
urda commented 7 years ago

It looks like the issue started with pylint==1.7.0. I will lock the project to pylint==1.6.5 until I can support the newer versions.