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.

Source Distribution

flake8-os-walk-0.2.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

flake8_os_walk-0.2.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file flake8-os-walk-0.2.0.tar.gz.

File metadata

  • Download URL: flake8-os-walk-0.2.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

Hashes for flake8-os-walk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7ebeb95e8fc54b076b82a06b0b110a62a16d43155ac4f11a4872e5f283e07988
MD5 9e3077ca6a53280d6552b80ba4008c5f
BLAKE2b-256 7e6f3d3fd56b375e89947ba4c1cfec2b2aa3eb60236cfda851b151c8ece4f6e7

See more details on using hashes here.

File details

Details for the file flake8_os_walk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: flake8_os_walk-0.2.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

Hashes for flake8_os_walk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a57d7c9b9b2ee5365f4db9d0ce9a1be702d6aaa6cf38109eb7d5e133272c08e9
MD5 2750c4cb9be9dc0d0403238877c906b6
BLAKE2b-256 bb9b97f0e8c1a3abb5be95b894fdb02d5720ece4d3696c4ba2493708e7e25f99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page