Skip to main content

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 '<untitled>', 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.

Metadata

Release files for thonny-flake 1.0.6

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

Source distribution (sdist)

Source distribution for thonny-flake 1.0.6
File Size Uploaded
thonny_flake-1.0.6.tar.gz 3.7 kB Details

Release files / thonny_flake-1.0.6.tar.gz

Download URL thonny_flake-1.0.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
26022e77b4296ce846e2f1336be86e3f7f3e928f51c43ca580d144e2cf897f75
BLAKE2b-256 checksum
How to use checksums
db8022bbff0d25f7a144e6a3f5f972fa8382e761c8bf15f892d789792559cf62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

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