From fb5886f618441445f9172e29d55ffc4e96ba86c0 Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Fri, 4 Nov 2016 12:11:49 -0400 Subject: [PATCH 1/3] Update pycodestyle tox.ini section. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4ef739653dfc..f5663cc384e1 100644 --- a/tox.ini +++ b/tox.ini @@ -196,7 +196,7 @@ deps = passenv = {[testenv:docs]passenv} -[pep8] +[pycodestyle] exclude = docs/conf.py, bigtable/google/cloud/bigtable/_generated/*, From b8d6ed63d9429b4b822766b2da6705929dfe398c Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Fri, 4 Nov 2016 14:13:38 -0400 Subject: [PATCH 2/3] Update pycodestyle minimum version to 2.1.0. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f5663cc384e1..37b5d7d75cdd 100644 --- a/tox.ini +++ b/tox.ini @@ -211,7 +211,7 @@ commands = python {toxinidir}/scripts/run_pylint.py deps = {[testing]deps} - pycodestyle + pycodestyle >= 2.1.0 pylint >= 1.6.4 passenv = {[testenv:system-tests]passenv} From 82bc27b1fd80e46c68d602359edaa5067874b916 Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Fri, 4 Nov 2016 14:30:29 -0400 Subject: [PATCH 3/3] Fix lint spacing issue. --- scripts/generate_json_docs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generate_json_docs.py b/scripts/generate_json_docs.py index f8376568d8e5..cda8a374ebe2 100644 --- a/scripts/generate_json_docs.py +++ b/scripts/generate_json_docs.py @@ -653,5 +653,6 @@ def main(): if args.show_toc: print(json.dumps(toc, indent=4)) + if __name__ == '__main__': main()