Skip to content

Commit 9bd557f

Browse files
authored
Gh checks (#3041)
* Cleanup some typing * Add custom CLI commands * Add unit tests * Align checks and versions * Add SIGKILL type * squash
1 parent ae56477 commit 9bd557f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/tests.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,21 @@ jobs:
2727
- { python-version: "3.9", tox-env: security }
2828
- { python-version: "3.10", tox-env: security }
2929
- { python-version: "3.11", tox-env: security }
30-
- { python-version: "3.10", tox-env: lint }
30+
- { python-version: "3.12", tox-env: security }
31+
- { python-version: "3.13", tox-env: security }
32+
- { python-version: "3.13", tox-env: lint }
3133
# - { python-version: "3.10", tox-env: docs }
3234
- { python-version: "3.9", tox-env: type-checking }
3335
- { python-version: "3.10", tox-env: type-checking }
3436
- { python-version: "3.11", tox-env: type-checking }
37+
- { python-version: "3.12", tox-env: type-checking }
38+
- { python-version: "3.13", tox-env: type-checking }
3539
- { python-version: "3.9", tox-env: py39, max-attempts: 3 }
3640
- { python-version: "3.9", tox-env: py39-no-ext, max-attempts: 3 }
3741
- { python-version: "3.10", tox-env: py310, max-attempts: 3 }
3842
- { python-version: "3.10", tox-env: py310-no-ext, max-attempts: 3 }
3943
- { python-version: "3.11", tox-env: py311, max-attempts: 3 }
44+
- { python-version: "3.11", tox-env: py311-no-ext, max-attempts: 3 }
4045
- { python-version: "3.12", tox-env: py312, max-attempts: 3 }
4146
- { python-version: "3.12", tox-env: py312-no-ext, max-attempts: 3 }
4247
- { python-version: "3.13", tox-env: py313, max-attempts: 3 }

sanic/worker/manager.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from sanic.worker.restarter import Restarter
1818

1919

20+
SIGKILL: int
2021
if not OS_IS_WINDOWS:
2122
from signal import SIGKILL
2223
else:

0 commit comments

Comments
 (0)