From 7b3d31939fc899cc9da6d6cb0421c568442a47dc Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Mon, 17 Sep 2018 11:16:08 -0400 Subject: [PATCH] Pylint fix. --- .pylintrc | 3 ++- .pylintrc37 | 3 ++- dash/dash.py | 4 ++-- tests/IntegrationTests.py | 3 +-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.pylintrc b/.pylintrc index f85cbf3259..fba35186cc 100644 --- a/.pylintrc +++ b/.pylintrc @@ -56,7 +56,8 @@ confidence= # --disable=W" disable=fixme, missing-docstring, - invalid-name + invalid-name, + too-many-lines # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where diff --git a/.pylintrc37 b/.pylintrc37 index ef6ce31186..8ff5bee0db 100644 --- a/.pylintrc37 +++ b/.pylintrc37 @@ -145,7 +145,8 @@ disable=invalid-name, comprehension-escape, no-else-return, useless-object-inheritance, - possibly-unused-variable + possibly-unused-variable, + too-many-lines # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/dash/dash.py b/dash/dash.py index e414327461..bb557ec7c6 100644 --- a/dash/dash.py +++ b/dash/dash.py @@ -971,7 +971,7 @@ def enable_dev_tools(self, :param debug: If false no tools will be activated. :type debug: bool - :param dev_tools_serve_bundles: Serve the dev bundles of component libs. + :param dev_tools_serve_bundles: Serve the dev bundles of component libs :type dev_tools_serve_bundles: bool :return: """ @@ -996,7 +996,7 @@ def run_server(self, :type port: int :param debug: Set the debug mode of flask and enable the dev tools. :type debug: bool - :param dev_tools_serve_dev_bundles: Serve the dev bundles of component libs. + :param dev_tools_serve_dev_bundles: Serve the dev bundles of components :type dev_tools_serve_dev_bundles: bool :param flask_run_options: Given to `Flask.run` :return: diff --git a/tests/IntegrationTests.py b/tests/IntegrationTests.py index ee249d8cb5..73f211624c 100644 --- a/tests/IntegrationTests.py +++ b/tests/IntegrationTests.py @@ -48,8 +48,7 @@ def run(): port=8050, debug=False, processes=4, - threaded=False, - dev_tools=False + threaded=False ) # Run on a separate process so that it doesn't block