Skip to content

Commit fb53de0

Browse files
authored
Merge pull request #106 from bckohan/v2.x.x
V2.x.x
2 parents a4c449f + b8e69bb commit fb53de0

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- '3.2' # LTS April 2024
2323
- '4.2' # LTS April 2026
2424
- '5.0' # April 2025
25-
- '5.1rc1' # December 2025
25+
- '5.1' # December 2025
2626
exclude:
2727
- python-version: '3.8'
2828
django-version: '4.2'
@@ -37,9 +37,9 @@ jobs:
3737
- python-version: '3.10'
3838
django-version: '5.0'
3939
- python-version: '3.8'
40-
django-version: '5.1rc1'
40+
django-version: '5.1'
4141
- python-version: '3.10'
42-
django-version: '5.1rc1'
42+
django-version: '5.1'
4343

4444
steps:
4545
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- '3.2' # LTS April 2024
2424
- '4.2' # LTS April 2026
2525
- '5.0' # April 2025
26-
- '5.1rc1' # December 2025
26+
- '5.1' # December 2025
2727
exclude:
2828
- python-version: '3.8'
2929
django-version: '5.0'
@@ -34,9 +34,9 @@ jobs:
3434
- python-version: '3.12'
3535
django-version: '3.2'
3636
- python-version: '3.8'
37-
django-version: '5.1rc1'
37+
django-version: '5.1'
3838
- python-version: '3.9'
39-
django-version: '5.1rc1'
39+
django-version: '5.1'
4040

4141
steps:
4242
- uses: actions/checkout@v4

django_typer/completers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def __init__(
285285
):
286286
if inspect.isclass(model_or_qry) and issubclass(model_or_qry, Model):
287287
self.model_cls = model_or_qry
288-
elif isinstance(model_or_qry, QuerySet): # type: ignore
288+
elif isinstance(model_or_qry, QuerySet):
289289
self.model_cls = model_or_qry.model
290290
self._queryset = model_or_qry
291291
else:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Sphinx = [
7070
]
7171
sphinx-rtd-theme = "^2.0.0"
7272
mypy = "^1.0"
73-
pylint = "^3.0"
7473
doc8 = "^1.1.1"
7574
aiohttp = "^3.9.1"
7675
readme-renderer = {extras = ["md"], version = ">=42,<44"}
@@ -85,7 +84,7 @@ scipy = [
8584
{ version = ">=1.11", markers = "python_version > '3.8'" },
8685
{ version = "<=1.10", markers = "python_version <= '3.8'" },
8786
]
88-
django-stubs = "^4.2.7"
87+
django-stubs = ">=4.2.7"
8988
pexpect = "^4.9.0"
9089
pyright = "^1.1.357"
9190
ruff = "^0.4.1"

tests/test_native.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_native_cli(self):
177177
str({"name": "Brian"}),
178178
)
179179
self.assertEqual(
180-
run_command(self.command, *self.settings, "--version")[0].strip(),
180+
str(run_command(self.command, *self.settings, "--version")[0]).strip(),
181181
DJANGO_VERSION,
182182
)
183183

0 commit comments

Comments
 (0)