Green underline below my codes (Python)
My code works fine. Its just I'm curious what does this green line means.
This file cannot be displayed: https://storage.googleapis.com/replit/images/1557803289562_e37916ceb709a80cbcdbeebef90f3b0e.pn
It means your cyclomatic complexity is 2 high.
Hover your mouse pointer over over that code to find out.
@TheDrone7 Here's what it says "W191 indentation contains tabs" Tried to check the code and the indentation. I think nothing is wrong with it. I just want to know the green line does
@TheDrone7 Seems to be http://pycodestyle.pycqa.org/en/latest/intro.html. You can configure it with a setup.cfg file. I did so here https://repl.it/@apatterson189/example-using-pytest-with-watch to disable the indentation warning
@TheDrone7
This file cannot be displayed: https://storage.googleapis.com/replit/images/1557805730608_85aa34199ba05dfcdf900e1a72012b21.pn
Didn't change anything.
@apatterson189 So how can I use the setup.cfg?
@Blink http://pycodestyle.pycqa.org/en/latest/intro.html#configuration goes into detail, I have a setup.cfg in https://repl.it/@apatterson189/example-using-pytest-with-watch which disables the indentation warning. I recall it didn't seem to have an effect until I reloaded though.
it means that you didn't use it