Skip to main content

A plugin that adds flake8 warnings to the Thonny Python IDE.

Project description

thonny-flake

A Thonny plugin to add most of flake8's warnings (except for F401 because Thonny already warns when imported modules are unused).

Installing

To install from pip3 using a terminal (or Powershell for Windows users):

pip3 install thonny-flake
# Or
python3 -m pip install thonny-flake

To install directly from Thonny:

  1. Click "Tools" and then click "Manage Plug-ins..."
  2. Search for "thonny-flake" in the input box.
  3. Click install.

Either way, after installing you will need to restart Thonny for the changes to take effect.

Debugging

"The assistant menu is blank/not showing"

The warnings may not show if the file you are running is '', save the file and try again. If not, look at the option below.

"It doesn't show warnings!"

If it doesn't show any warnings on things that should be warnings, try these:

  • Enable the assistant (Tools > Options > Assistant > enable all boxes you want, OK)
  • Install flake8 (python3 -m pip install flake8)
  • Restart Thonny
  • Run your code again

If you still don't get warnings, then your code doesn't have any that flake8 detects.

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

thonny_flake-1.0.5.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file thonny_flake-1.0.5.tar.gz.

File metadata

  • Download URL: thonny_flake-1.0.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for thonny_flake-1.0.5.tar.gz
Algorithm Hash digest
SHA256 29601de347b062676b7a013a076aa4aa5662a0b6a445e488c224d48068d4b29a
MD5 4dd1fd9d12a9ee6577c6dea6393c5392
BLAKE2b-256 fc8f7e135dd819b848bf6485fc54526513a37251bd57895ad36d35ec70fd7ac4

See more details on using hashes here.

Supported by

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