Skip to content

Commit

Permalink
Bumped minimum version of certifi and fixed a typing issue with Pytho…
Browse files Browse the repository at this point in the history
…n 3.9.
  • Loading branch information
oliverandrich committed Nov 17, 2024
1 parent a5281c5 commit 3f79812
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Switched from pyright to mypy for type checking.
- Fixed broken links in the documentation.
- Bumped default version of Tailwind CSS to 3.4.13.
- Bumped minimum version of certifi to 2024.8.30. Removed the upper boundary of the version number.

## 2.19.0

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ classifiers = [
]
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"django>=4.2",
"certifi>=2023.7.22,<2025.0.0",
"django-typer>=2.1.2",
]
dependencies = ["django>=4.2", "certifi>=2024.8.30", "django-typer>=2.1.2"]

[project.optional-dependencies]
django-extensions = ["django-extensions>=3.2", "werkzeug>=3.0"]
Expand Down Expand Up @@ -75,6 +71,7 @@ exclude = '''

# mypy
[tool.mypy]
python_version = "3.9"
plugins = ["mypy_django_plugin.main"]

[tool.django-stubs]
Expand Down
4 changes: 3 additions & 1 deletion src/django_tailwind_cli/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Optional

from django.conf import settings

DEFAULT_VERSION = "3.4.13"
Expand All @@ -19,7 +21,7 @@ def get_tailwind_cli_automatic_download() -> bool:
return getattr(settings, "TAILWIND_CLI_AUTOMATIC_DOWNLOAD", True)


def get_tailwind_cli_src_css() -> None | str:
def get_tailwind_cli_src_css() -> Optional[str]:
"""Get the source css file for the Tailwind CSS CLI."""
return getattr(settings, "TAILWIND_CLI_SRC_CSS", None)

Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f79812

Please sign in to comment.