Skip to content

asherf/flake8-os-walk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.