[tor-commits] [stem/master] Fix couple suppressions for static checks

atagar at torproject.org atagar at torproject.org
Wed Jul 26 03:13:48 UTC 2017


commit b67425b53196f75b940b4c7ea396ecc3985b4741
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Jul 25 10:40:45 2017 -0700

    Fix couple suppressions for static checks
    
    Huh. Not sure why this didn't come up on my last system. Fixing suppressions
    for couple red herrings...
    
            STATIC CHECKS
            * /home/atagar/Desktop/stem/stem/prereq.py
            line 101  - 'cryptography.hazmat.primitives.serialization.load_der_public_key' imported but unused | from cryptography.hazmat.primitives.serialization import load_der_public_key
            line 102  - 'cryptography.hazmat.primitives.ciphers.algorithms' imported but unused | from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
---
 test/settings.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/settings.cfg b/test/settings.cfg
index 4d532ff8..4cc9d7ee 100644
--- a/test/settings.cfg
+++ b/test/settings.cfg
@@ -165,10 +165,10 @@ pyflakes.ignore stem/prereq.py => 'signing' imported but unused
 pyflakes.ignore stem/prereq.py => 'cryptography.utils.int_to_bytes' imported but unused
 pyflakes.ignore stem/prereq.py => 'cryptography.utils.int_from_bytes' imported but unused
 pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.backends.default_backend' imported but unused
-pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.serialization.load_der_public_key'
+pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.serialization.load_der_public_key' imported but unused
 pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.ciphers.modes' imported but unused
 pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.ciphers.Cipher' imported but unused
-pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.ciphers.algorithms'
+pyflakes.ignore stem/prereq.py => 'cryptography.hazmat.primitives.ciphers.algorithms' imported but unused
 pyflakes.ignore stem/prereq.py => 'nacl.encoding' imported but unused
 pyflakes.ignore stem/prereq.py => 'nacl.signing' imported but unused
 pyflakes.ignore stem/interpreter/__init__.py => undefined name 'raw_input'





More information about the tor-commits mailing list