Skip to content

Commit cc5bdf2

Browse files
authored
feat: 👷 Add Python 3.13 in CI
1 parent 08e70a1 commit cc5bdf2

File tree

4 files changed

+299
-295
lines changed

4 files changed

+299
-295
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
ci:
1212
strategy:
1313
matrix:
14-
python-version: ["3.12"]
14+
python-version: ["3.12", "3.13"]
1515

1616
name: Python ${{ matrix.python-version }}
1717
runs-on: ubuntu-latest

‎injection/_core/hook.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __stack(self) -> Iterator[HookFunction[P, T]]:
3434
return iter(self.__functions)
3535

3636
def add(self, *functions: HookFunction[P, T]) -> Self:
37-
self.__functions.extend(functions)
37+
self.__functions.extend(reversed(functions))
3838
return self
3939

4040
@classmethod

0 commit comments

Comments
 (0)