Releases: CoolCat467/idlemypyextension
Version 1.1.0
Since the last release, we refactored the continuous integration system to be based off of Trio, added command line feature to be able to add extension comments from errors saved from a file or from stdin, fixed moduleguard from scanning root folder when you installed with a virtual environment, fixed stub file typing, and figured out how to make mypy use stub files for type checking on github actions.
Full Changelog: v1.0.4...v1.1.0
Version 1.0.4
Since the last release, added idlelib stubs to project's main folder, added logging extension logs to a file, and using a local copy of mttkinter instead of published version.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #8
- Update trio requirement from ~=0.25.0 to >=0.25,<0.27 by @dependabot in #9
- Update mypy requirement from ~=1.10.1 to >=1.10.1,<1.12.0 by @dependabot in #10
Full Changelog: v1.0.3...v1.0.4
Version 1.0.3
In this release, we update dependencies, add support for dictionary and set argument default values, add cleanup code for asynchronous event handlers for when IDLE closes, and add tests for new dictionary and set changes.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #6
Full Changelog: v1.0.2...v1.0.3
Version 1.0.2
This release has no functional changes, simply updating dependencies.
What's Changed
- Update mypy requirement from ~=1.8.0 to ~-1.9.0 by @dependabot in #5
New Contributors
- @dependabot made their first contribution in #5
Full Changelog: v1.0.1...v1.0.2
Version 1.0.1
This release fixes an issue with the text generated if users use the legacy installation method.
Full Changelog: v1.0.0...v1.0.1
Version 1.0.0
In this release, we update dependencies, switch the license back to the GNU General Public License v3 because it's actually not allowed to downgrade to Apache 2 (whoops), update project metadata, add mttkinter
dependency because it fixes a thread safety issue with tktrio
, move a bunch of the code from __init__
into two separate modules, extension
and utils
, where utils
is a general module for building extensions and extension
is specific to this project, which makes it much easier for me to have bugfixes from my other extensions be able to transfer to this one, add license headers to all the files, handle a very strange case where a Trio run fails to exit properly, and fix a bug where the extension can crash when there are no file comments.
Full Changelog: v0.2.7...v1.0.0
Version 0.2.7
In this release, we
- Fix a bunch of spelling issues
- Update dependencies
- Change the way we talk to the mypy daemon to use builtin trio asynchronous sockets instead of wrapping dmypy module sockets
- Cap maximum read count in module guard so it doesn't lag out if you use idle in a virtual environment
- Basically rewrite tktrio so the asynchronous code works way better
- Fix the following issues in the annotation generator:
- Speed up tokenization by using compiled regular expression
- Fix f-string handling for python 3.12 +
- Handle case when lambda at end of arguments list over-reads close definition parenthesis
- Fix case when annotations contain module names that have spaces in them
- Ignore annotation prefixes when they are for the module we are adding annotations to
- Add tests for the annotation generator
Full Changelog: v0.2.3...v0.2.7
v0.2.6
Forgot to make a release for pypi v0.2.6
Full Changelog: v0.2.3...v0.2.6
Version 0.2.3
In this release, we do basically nothing other than updating dependencies.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #4
Full Changelog: v0.2.2...v0.2.3
Version 0.2.2
In this release, support was added for idleuserextend
, meaning it is no longer required to have root permissions to install this extension.
Behind the scenes, there is now support to add mypy comments to files that are not currently open, but this is disabled for now (mostly because in some cases it opens so many windows it's like those old virus memes where error boxes fill the screen).
Fixed a slight issue with the Remove Type Comments
command wherein because of the way it edited the currently open file, using the undo command would move the cursor to the beginning of the file. Now, it uses a different method of editing the currently open file, so using the undo command will move the cursor to the start of the first edit like intended.
Added Overload
response support to the annotation parser, allowing suggested types that include Overload
to not error out.
Re-added previously removed support for the INDENT
token, because it turns out it can still be encountered in some cases and would cause an unhandled token error if that happened.
Added idle import guard blocks for all third-party modules instead of just one Trio import, preventing the extension from crashing on startup if you happen to be working on any of said third-party modules using IDLE.
Added traceback exception handler for tktrio run unwraps, hopefully preventing IDLE from crashing from anything other than a BaseException in an asynchronous function.
Updated pre-commit dependancies and added badges for test runs and anything badgie
finds.
Full Changelog: v0.2.1...v0.2.2