[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Fix pycodestyle testing configuration



commit e60efc833492dfe95684d8875833894d1997fa97
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Oct 29 14:58:11 2016 -0700

    Fix pycodestyle testing configuration
    
    Reasserting our testing configuration of pycodestyle issues to ignore.
---
 test/settings.cfg | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/test/settings.cfg b/test/settings.cfg
index b7323ac..4579f09 100644
--- a/test/settings.cfg
+++ b/test/settings.cfg
@@ -92,13 +92,13 @@ target.torrc RUN_SOCKET   => SOCKET
 target.torrc RUN_SCOOKIE  => SOCKET, COOKIE
 target.torrc RUN_PTRACE   => PORT, PTRACE
 
-# PEP8 compliance issues that we're ignoreing...
+# Pycodestyle compliance issues that we're ignoreing...
 #
 # * E251 no spaces around keyword / parameter equals
 #
 #   This one I dislike a great deal. It makes keyword arguments different
-#   from assignments which looks... aweful. I'm not sure what PEP8's author
-#   was on when he wrote this one but it's stupid.
+#   from assignments which looks... aweful. I'm not sure what Pycodestyle's
+#   author was on when he wrote this one but it's stupid.
 #
 #   Someone else can change this if they really care.
 #
@@ -117,24 +117,24 @@ target.torrc RUN_PTRACE   => PORT, PTRACE
 #
 # * E127 and E131 continuation line over-indented for visual indent
 #
-#   Pep8 only works with this one if we have four space indents (its
+#   Pycodestyle only works with this one if we have four space indents (its
 #   detection is based on multiples of four).
 
-pep8.ignore E111
-pep8.ignore E114
-pep8.ignore E121
-pep8.ignore E501
-pep8.ignore E251
-pep8.ignore E127
-pep8.ignore E131
-
-pep8.ignore stem/__init__.py => E402: import stem.util.enum
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.server_descriptor
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.extrainfo_descriptor
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.networkstatus
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.microdescriptor
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.tordnsel
-pep8.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.hidden_service_descriptor
+pycodestyle.ignore E111
+pycodestyle.ignore E114
+pycodestyle.ignore E121
+pycodestyle.ignore E501
+pycodestyle.ignore E251
+pycodestyle.ignore E127
+pycodestyle.ignore E131
+
+pycodestyle.ignore stem/__init__.py => E402: import stem.util.enum
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.server_descriptor
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.extrainfo_descriptor
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.networkstatus
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.microdescriptor
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.tordnsel
+pycodestyle.ignore stem/descriptor/__init__.py => E402: import stem.descriptor.hidden_service_descriptor
 
 # False positives from pyflakes. These are mappings between the path and the
 # issue.
@@ -151,7 +151,7 @@ pyflakes.ignore stem/prereq.py => 'long_to_bytes' imported but unused
 pyflakes.ignore stem/interpreter/__init__.py => undefined name 'raw_input'
 pyflakes.ignore stem/util/conf.py => undefined name 'unicode'
 pyflakes.ignore stem/util/test_tools.py => 'pyflakes' imported but unused
-pyflakes.ignore stem/util/test_tools.py => 'pep8' imported but unused
+pyflakes.ignore stem/util/test_tools.py => 'pycodestyle' imported but unused
 pyflakes.ignore test/mocking.py => undefined name 'test'
 pyflakes.ignore test/unit/response/events.py => 'from stem import *' used; unable to detect undefined names
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits