pycodestyle/flake8 feedback in Python 3
etowncodes (2)

New to trying pycodestyle or flake8 package and want to get my students to utilize it to style code properly. Working in Python 3.

How do you get the "feedback" to output in the terminal? In other words, how do I get this to show?

code.py:1:17: E231 missing whitespace after ','

You are viewing a single comment. View All
etowncodes (2)

@Zavexeon Thanks for checking in on this! I import flake8 from packages in a repl. Let's suppose the code is this:


import flake8

X = "Zach"

print("Hi",X)

I would believe that two issues--the capitalization of X and the lack of whitespace after the comma in the print statement--should return a style "warning". I don't see anything when I do.*

*note--importing pycodestyle didn't seem to work at all.