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.4.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file flake8-os-walk-0.4.0.tar.gz
.
File metadata
- Download URL: flake8-os-walk-0.4.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ab41706e956731f6571b0dfcdff0c7340af275d025add7072d269daa8dfa1a |
|
MD5 | 7a035e0d4eea6952d460939fa36b2c09 |
|
BLAKE2b-256 | c62827fd1150823a1d6158ba67a48e311860a43d488a13b0445c684cf8f19528 |
File details
Details for the file flake8_os_walk-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_os_walk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f133bd557d94d0ff1713d68d43e316d1e51d2571aa7e1ff62357a5e99b9f40da |
|
MD5 | 2e3a887ac4169b8b4cc27fc224c096f4 |
|
BLAKE2b-256 | ad432b74576dcaacfd78c5ac1a15ca06724a0a3fd80f6965ae2bc831fe009692 |