Uh oh!
There was an error while loading. Please reload this page.
Pylint pep8 fixes - #185
Conversation
…s - https://www.python.org/dev/peps/pep-0008/#blank-lines. Remove import json (unused-import).
…ne - https://www.python.org/dev/peps/pep-0008/#blank-lines. Remove unused imports dash, time, re, itertools and json. Remove unused State imported from dash.dependencies (unused-import). Remove unused Event imported from dash.dependencies (unused-import).
…river.common.keys, dash, dash_core_components, dash_html_components imported as html, importlib, os. Standard imports 'multiprocessing, sys, time, unittest' should be placed before 'from selenium import webdriver' (wrong-import-order) - https://www.python.org/dev/peps/pep-0008/#imports. Method definitions inside a class are surrounded by a single blank line - https://www.python.org/dev/peps/pep-0008/#blank-lines.
…before 'import dash_html_components as html' (wrong-import-order). Third party import 'import dash_html_components as html' should be placed before 'from dash import Dash' (wrong-import-order). Third party import 'import dash_core_components as dcc' should be placed before 'from dash import Dash' (wrong-import-order) https://www.python.org/dev/peps/pep-0008/#imports
chriddyp
commented
Jan 3, 2018
jbampton
commented
Jan 4, 2018
Hey @chriddyp no I don't have them automated. I just ran Pylint against each file I wanted to check. Also I run Pycharm here and it picks up most of the problems just in the code editor. I mainly just looked at some of the recent commits and noticed some of the PEP8 problems. |
Hey @chriddyp I see the pylint command works on a whole directory at once if you have an I wanted to catch the Python files in directories that don't have #!/usr/bin/env ruby# Ruby command line script that runs the Pylint python code linting tool.# https://www.pylint.org/ against a whole directory recursivelydeflint(src)Dir.glob("#{src}/**/*.py").mapdo |filename|
puts`pylint "#{filename}"`unlessfilename.include?'/venv/'endendifARGV[0].nil?STDOUT.puts'Please provide the directory - /path/to/dir - to run pylint ' \
'against or use . for the current directory.'elselint(ARGV[0])endRuns like this: I put it up in a repo here -> https://github.com/jbampton/ruby-pylint |
Add missing input disabled attr
No description provided.