Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 412 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 412 Bytes

flake8-os-walk

Checks for uses of os.walk() without passing the onerror param.

Why

The os.walk() function has a major-gotcha which means it will silently fail (yield nothing) if the path passed to it is invalid (doesn't exits).

Also, this is an excuse for me to write my first flake8 plugin.