Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Install dependencies
run: poetry install --without docs

- name: Check formatting with ruff
run: poetry run ruff format . --check

- name: Lint with ruff
run: poetry run ruff check . --statistics

Expand Down
1 change: 1 addition & 0 deletions async_tkinter_loop/async_tkinter_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ async def some_async_function():
button = tk.Button("Press me", command=some_async_function)
```
"""

@wraps(async_function)
def wrapper(*handler_args) -> None:
loop = event_loop or get_event_loop()
Expand Down
5 changes: 3 additions & 2 deletions docs/similar_projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
* [Starwort/asynctk](https://github.com/Starwort/asynctk) ([on PyPi](https://pypi.org/project/asynctk/)) - tries to wrap all widgets and make all their methods asyncroneous.
Most recent commit: October 2021.
GPL v3 license.
* [gottadiveintopython/asynctkinter](https://github.com/gottadiveintopython/asynctkinter) ([on PyPi](https://pypi.org/project/asynctkinter/)) - looks like an asynchronous framework itself (like [trio](https://github.com/python-trio/trio)).
Most recent commit: August 2023.
* [asyncgui/asynctkinter](https://github.com/asyncgui/asynctkinter) ([on PyPi](https://pypi.org/project/asynctkinter/)) - looks like an asynchronous framework itself (like [trio](https://github.com/python-trio/trio)).
Archived Jun 15, 2026
MIT License.
* [asyncgui/asynctkinter2](https://github.com/asyncgui/asynctkinter2) ([on PyPi](https://pypi.org/project/asynctkinter2/)) - successor of asynctkinter.

The latter two projects use old `asyncio` code (from before `async`/`await` syntax addition):

Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions poetry.toml

This file was deleted.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "async-tkinter-loop"
version = "0.10.3"
version = "0.10.4"
description = "Asynchronous mainloop implementation for tkinter"
authors = ["insolor <insolor@gmail.com>"]
license = "MIT"
Expand All @@ -21,7 +21,7 @@ classifiers = [
python = "^3.10"
Pillow = {version = ">=10.3.0,<13.0.0", optional = true}
httpx = {version = ">=0.23.1,<0.29.0", optional = true}
customtkinter = {version = "^5.2.1", optional = true}
customtkinter = {version = ">=5,<6", optional = true}
typing-extensions = "*"

[tool.poetry.group.dev.dependencies]
Expand Down Expand Up @@ -53,6 +53,7 @@ ignore = [
"D", # Warning about docstrings are suppressed for now
"ANN002",
"ANN003",
"COM812", # Conflicts with the formatter
]
fixable = ["ALL"]

Expand Down