Skip to content

Commit

Permalink
Update dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Nov 3, 2023
1 parent c3effb6 commit a1d010f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ repos:
types: [file]
types_or: [python, pyi]
- repo: https://github.com/psf/black
rev: 23.10.0
rev: 23.10.1
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.0
rev: v0.1.3
hooks:
- id: ruff
types: [file]
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ classifiers = [
]
keywords = ["mypy", "dmypy", "idle", "extension", "development", "daemon"]
dependencies = [
"mypy~=1.6.0",
"trio~=0.22.2",
"mypy~=1.6.1",
"trio~=0.23.0",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -73,7 +73,7 @@ warn_unused_ignores = true

[tool.black]
line-length = 79
target-version = ['py310']
target-version = ['py311']

[tool.ruff.isort]
combine-as-imports = true
Expand Down
2 changes: 1 addition & 1 deletion src/idlemypyextension/tktrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _start_async_task(

self.cancel_scope = trio.CancelScope()

@trio.lowlevel.disable_ki_protection # type: ignore[misc]
@trio.lowlevel.disable_ki_protection
async def wrap_in_cancel(is_evil: bool) -> Any:
value = None
try:
Expand Down

0 comments on commit a1d010f

Please sign in to comment.