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 details)
Built Distribution
File details
Details for the file flake8-os-walk-0.3.0.tar.gz
.
File metadata
- Download URL: flake8-os-walk-0.3.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05dd00157cb2f0c7ee1ac17082c138abbd03211d90f0701b82ca05ba4b6d8a7b |
|
MD5 | cad36f910394dc5d3e9e8ae4a508dc1c |
|
BLAKE2b-256 | 7f780a22eceed47f4128413857c23f6071b07c54bfe26b9e5ec20313e29d19af |
File details
Details for the file flake8_os_walk-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_os_walk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82079deae5a3ca5033b6b1c443a96e97780da01bb8ab961fb995dce0e9721594 |
|
MD5 | 187d1ccbb6e3805ed50295b4f74aa377 |
|
BLAKE2b-256 | 139dff8fa3995b4d2e0cb0943a52e44545050f2ab7ee6150b62197b44b837dae |