wpilibsuite / styleguide

Style guides for wpilibsuite projects
Other
5 stars 16 forks source link

Consider adding `autoflake` for python to remove unused imports #280

Closed pjreiniger closed 3 months ago

pjreiniger commented 3 months ago

Given a comment on one of my PR's, and then this follow up, it could fix the problem at the source. I was making a diff before Tyler posted his where I ran this to get rid of some of the problems

python3 -m autoflake $(git ls-files '*.py') --in-place --remove-unused-variable --remove-all-unused-imports