Skip to content

Commit f57e8b8

Browse files
remove django 3.2 part from should_skip in noxfile.py (#98)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d6b77e5 commit f57e8b8

File tree

5 files changed

+4
-12
lines changed

5 files changed

+4
-12
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2626

2727
- Reworded two headers in the template README to better reflect their purpose.
2828

29+
### Removed
30+
31+
- Removed unused Django 3.2 section from `should_skip` function in template's `noxfile.py`.
32+
2933
## [2024.21]
3034

3135
### Changed

examples/calver_inc/noxfile.py

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
3939
# Django main requires Python 3.10+
4040
return True
4141

42-
43-
4442
if django == DJ50 and version(python) < version(PY310):
4543
# Django 5.0 requires Python 3.10+
4644
return True

examples/calver_month/noxfile.py

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
3939
# Django main requires Python 3.10+
4040
return True
4141

42-
43-
4442
if django == DJ50 and version(python) < version(PY310):
4543
# Django 5.0 requires Python 3.10+
4644
return True

examples/default/noxfile.py

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
3939
# Django main requires Python 3.10+
4040
return True
4141

42-
43-
4442
if django == DJ50 and version(python) < version(PY310):
4543
# Django 5.0 requires Python 3.10+
4644
return True

src/django_twc_package/noxfile.py.jinja

-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ def should_skip(python: str, django: str) -> bool:
2727
return True
2828
{%- endif %}
2929

30-
{% if "3.2" in django_versions -%}
31-
if django == DJ32 and version(python) >= version(PY312):
32-
# Django 3.2 requires Python < 3.12
33-
return True
34-
{%- endif %}
35-
3630
{% if "5.0" in django_versions -%}
3731
if django == DJ50 and version(python) < version(PY310):
3832
# Django 5.0 requires Python 3.10+

0 commit comments

Comments
 (0)