Skip to content

Commit d4b2085

Browse files
committed
chore: ignore at the correct spot
1 parent 4a5d054 commit d4b2085

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

algoliasearch_django/decorators.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ def __init__(self, model=None):
5858
def __enter__(self):
5959
for model in self.models:
6060
post_save.disconnect(
61-
algolia_engine._AlgoliaEngine__post_save_receiver,
62-
sender=model, # pyright: ignore
61+
algolia_engine._AlgoliaEngine__post_save_receiver, # pyright: ignore
62+
sender=model,
6363
)
6464
pre_delete.disconnect(
65-
algolia_engine._AlgoliaEngine__pre_delete_receiver,
66-
sender=model, # pyright: ignore
65+
algolia_engine._AlgoliaEngine__pre_delete_receiver, # pyright: ignore
66+
sender=model,
6767
)
6868

6969
def __exit__(self, exc_type, exc_value, traceback):
7070
for model in self.models:
7171
post_save.connect(
72-
algolia_engine._AlgoliaEngine__post_save_receiver,
73-
sender=model, # pyright: ignore
72+
algolia_engine._AlgoliaEngine__post_save_receiver, # pyright: ignore
73+
sender=model,
7474
)
7575
pre_delete.connect(
76-
algolia_engine._AlgoliaEngine__pre_delete_receiver,
77-
sender=model, # pyright: ignore
76+
algolia_engine._AlgoliaEngine__pre_delete_receiver, # pyright: ignore
77+
sender=model,
7878
)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"Programming Language :: Python :: 3.10",
6565
"Programming Language :: Python :: 3.11",
6666
"Programming Language :: Python :: 3.12",
67+
"Programming Language :: Python :: 3.13",
6768
"Topic :: Internet :: WWW/HTTP",
6869
],
6970
)

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ envlist =
77
{py310,py311,py312,py313}-django51
88
coverage
99
skip_missing_interpreters = True
10-
allowlist_externals = True
1110

1211
[testenv]
1312
deps =
@@ -33,7 +32,7 @@ ruff = >=0.7.4,<1.0
3332
pyright = >=1.1.389,<2.0
3433

3534
[testenv:coverage]
36-
basepython = python3.11
35+
basepython = python3.13
3736
deps = coverage
3837
passenv =
3938
ALGOLIA*
@@ -42,7 +41,7 @@ commands =
4241
coverage report
4342

4443
[testenv:coveralls]
45-
basepython = python3.11
44+
basepython = python3.13
4645
deps =
4746
coverage
4847
coveralls
@@ -54,7 +53,7 @@ commands =
5453
coveralls
5554

5655
[testenv:release]
57-
basepython = python3.11
56+
basepython = python3.13
5857
deps =
5958
twine {[versions]twine}
6059
wheel {[versions]wheel}

0 commit comments

Comments
 (0)