Skip to main content

flake8 extension for click

Project description

click-linter

Flake8 plugin for detecting click best practices

Checks

  • CLC001: checks for missing help text for click.option-s

Installing

$ python -m pip install flake8-click

Specify python2 or python3 to install for a specific Python version.

And double check that it was installed correctly:

$ python -m flake8 -h
Usage: flake8 [options] file file ...

...

Installed plugins: click_best_practices: 0.1.0, mccabe: 0.5.3, pycodestyle: 2.2.0, pyflakes: 1.3.0

Note the click_best_practices: 0.1.0.

Using

Click best practices is a flake8 plugin. You can easily use this plugin by

$ python -m flake8 --select=CLC /path/to/code

Testing

$ pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flake8_click-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file flake8_click-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flake8_click-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for flake8_click-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1fb9a33ba21d04d8b5c3e0540a33f385d375b5179c6955df5782d4d56df349
MD5 5e337dbe134c117a3df781c05ac5fc64
BLAKE2b-256 ba7fbe0a446759072d6b9e4e934274570c976d4fc81e3849619d63ffa53b47fb

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