Idlemypyextension

Latest version: v1.0.3

Safety actively analyzes 638763 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

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 https://github.com/CoolCat467/idlemypyextension/pull/4


**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.2...v0.2.3

0.2.2

In this release, support was added for [`idleuserextend`](https://github.com/CoolCat467/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**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.1...v0.2.2

0.2.1

In this release we start adding unit tests, first with the `annotate` module, and the associated CI for testing that. We update dependencies, fix a bug with the error pointers, make response handling more robust, fix annotations lambda handling, and in general fix a bunch of errors here and there with the annotation rebuilder.

What's Changed
* Add tests for `annotate` by CoolCat467 in https://github.com/CoolCat467/idlemypyextension/pull/2

New Contributors
* CoolCat467 made their first contribution in https://github.com/CoolCat467/idlemypyextension/pull/2

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.0...v0.2.1

0.2.0

In this release we update the dependencies, switch to using `ruff` instead of `flake8`, fix the python version requirements, add the dependencies in the right place in `pyproject.toml`, lots of formatting changes from ruff, asynchronous mypy runs so the editor doesn't freeze up, better mypy message handling, bugfixes in annotation parser, make mypy daemon client asynchronous, add module guard so trio can be imported even if you have a conflicting import file open in IDLE, and add module for running trio on top of Tkinter.

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.1.2...v0.2.0

0.1.2

This patch is mostly to fix a slight issue with the suggested annotations, so that returned annotations are not fixed to the size of the new annotation. This will allow for annotations that change sizes in the future.

What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/CoolCat467/idlemypyextension/pull/1

New Contributors
* pre-commit-ci made their first contribution in https://github.com/CoolCat467/idlemypyextension/pull/1

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.1.1...v0.1.2

0.1.1

Update project to use pyproject.toml instead of setup.py, and fix annotation module to be able to parse lambdas in function definition default arguments. Also add precommit and run black and isort on the project.

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.1.0...v0.1.1

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.