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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8-os-walk-0.3.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for flake8_os_walk-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82079deae5a3ca5033b6b1c443a96e97780da01bb8ab961fb995dce0e9721594 |
|
MD5 | 187d1ccbb6e3805ed50295b4f74aa377 |
|
BLAKE2b-256 | 139dff8fa3995b4d2e0cb0943a52e44545050f2ab7ee6150b62197b44b837dae |