[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Finish renaming pep8 to pycodestyle
commit b6b79867e2b4f1f9d4195e252a42fcf4cdef2782
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sat Oct 29 15:10:11 2016 -0700
Finish renaming pep8 to pycodestyle
Just a couple missed spots.
---
run_tests.py | 4 ++--
test/util.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/run_tests.py b/run_tests.py
index 0f98db7..abe77e4 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -79,7 +79,7 @@ PYFLAKES_TASK = Task(
print_result = False,
)
-PEP8_TASK = Task(
+PYCODESTYLE_TASK = Task(
'running pycodestyle',
stem.util.test_tools.stylistic_issues,
args = (SRC_PATHS, True, True, True),
@@ -147,7 +147,7 @@ def main():
pyflakes_task = PYFLAKES_TASK
if stem.util.test_tools.is_pycodestyle_available():
- pycodestyle_task = PEP8_TASK
+ pycodestyle_task = PYCODESTYLE_TASK
test.util.run_tasks(
'INITIALISING',
diff --git a/test/util.py b/test/util.py
index 1cb59eb..7e94ab3 100644
--- a/test/util.py
+++ b/test/util.py
@@ -23,7 +23,7 @@ Tasks are...
|- check_python_version - checks our version of python
|- check_pycrypto_version - checks our version of pycrypto
|- check_pyflakes_version - checks our version of pyflakes
- |- check_pycodestyle_version - checks our version of pep8
+ |- check_pycodestyle_version - checks our version of pycodestyle
|- clean_orphaned_pyc - removes any *.pyc without a corresponding *.py
+- check_for_unused_tests - checks to see if any tests are missing from our settings
"""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits