Skip to main content

Flake8 plugin which usage of os.walk().

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flake8-os-walk, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size flake8_os_walk-0.4.0-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flake8-os-walk-0.4.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page