Open ayushr2 opened 5 years ago
Shadowing variable names should actually be caught by flake8
. What you're referencing is using something like the variable name id
which covers up the id
builtin (which I think most linters probably don't care about, even though they probably should).
Following up from illinois-cs241/broadway-api#58, some warnings like shadowing variable names, type mismatch warning slip by
flake8
. We should be able to catch such things and not let them slip into production code.Maybe change the linter? But have been unsuccessful in finding linters which can do this.