Skip to main content

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.

Release files for flake8-os-walk 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-os-walk 0.4.0
File Size Uploaded
flake8-os-walk-0.4.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-os-walk 0.4.0
File Interpreter ABI Platform
flake8_os_walk-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / flake8-os-walk-0.4.0.tar.gz

Download URL flake8-os-walk-0.4.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70ab41706e956731f6571b0dfcdff0c7340af275d025add7072d269daa8dfa1a
BLAKE2b-256 checksum
How to use checksums
c62827fd1150823a1d6158ba67a48e311860a43d488a13b0445c684cf8f19528
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / flake8_os_walk-0.4.0-py3-none-any.whl

Download URL flake8_os_walk-0.4.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f133bd557d94d0ff1713d68d43e316d1e51d2571aa7e1ff62357a5e99b9f40da
BLAKE2b-256 checksum
How to use checksums
ad432b74576dcaacfd78c5ac1a15ca06724a0a3fd80f6965ae2bc831fe009692
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page