Skip to content

Commit 8730ab7

Browse files
author
Tim Santor
committed
Merge remote-tracking branch 'upstream/master'
2 parents b83a424 + f585302 commit 8730ab7

File tree

11 files changed

+132
-23
lines changed

11 files changed

+132
-23
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
exclude: hooks/
3434

3535
- repo: https://github.com/psf/black
36-
rev: 24.4.0
36+
rev: 24.4.2
3737
hooks:
3838
- id: black
3939

CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,106 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
33

44
<!-- GENERATOR_PLACEHOLDER -->
55

6+
## 2024.05.07
7+
8+
9+
### Updated
10+
11+
- Update django to 4.2.13 ([#5058](https://github.com/cookiecutter/cookiecutter-django/pull/5058))
12+
13+
## 2024.05.06
14+
15+
16+
### Fixed
17+
18+
- Fix nginx image name in production.yml ([#5053](https://github.com/cookiecutter/cookiecutter-django/pull/5053))
19+
20+
### Updated
21+
22+
- Update django-model-utils to 4.5.1 ([#5044](https://github.com/cookiecutter/cookiecutter-django/pull/5044))
23+
24+
- Update django to 4.2.12 ([#5056](https://github.com/cookiecutter/cookiecutter-django/pull/5056))
25+
26+
- Update sentry-sdk to 2.1.1 ([#5055](https://github.com/cookiecutter/cookiecutter-django/pull/5055))
27+
28+
- Update ruff to 0.4.3 ([#5049](https://github.com/cookiecutter/cookiecutter-django/pull/5049))
29+
30+
## 2024.05.05
31+
32+
33+
### Updated
34+
35+
- Auto-update pre-commit hooks ([#5046](https://github.com/cookiecutter/cookiecutter-django/pull/5046))
36+
37+
- Update django-storages to 1.14.3 ([#5047](https://github.com/cookiecutter/cookiecutter-django/pull/5047))
38+
39+
- Update coverage to 7.5.1 ([#5048](https://github.com/cookiecutter/cookiecutter-django/pull/5048))
40+
41+
## 2024.04.28
42+
43+
44+
### Updated
45+
46+
- Update pytest to 8.2.0 ([#5034](https://github.com/cookiecutter/cookiecutter-django/pull/5034))
47+
48+
## 2024.04.27
49+
50+
51+
### Updated
52+
53+
- Update sentry-sdk to 2.0.1 ([#5030](https://github.com/cookiecutter/cookiecutter-django/pull/5030))
54+
55+
## 2024.04.26
56+
57+
58+
### Updated
59+
60+
- Auto-update pre-commit hooks ([#5029](https://github.com/cookiecutter/cookiecutter-django/pull/5029))
61+
62+
- Update ruff to 0.4.2 ([#5028](https://github.com/cookiecutter/cookiecutter-django/pull/5028))
63+
64+
## 2024.04.25
65+
66+
67+
### Updated
68+
69+
- Update coverage to 7.5.0 ([#5025](https://github.com/cookiecutter/cookiecutter-django/pull/5025))
70+
71+
- Bump cssnano from 6.1.2 to 7.0.0 ([#5024](https://github.com/cookiecutter/cookiecutter-django/pull/5024))
72+
73+
- Auto-update pre-commit hooks ([#5023](https://github.com/cookiecutter/cookiecutter-django/pull/5023))
74+
75+
## 2024.04.24
76+
77+
78+
### Changed
79+
80+
- Disable UP038 Ruff rule to avoid introducing slower code ([#5020](https://github.com/cookiecutter/cookiecutter-django/pull/5020))
81+
82+
### Updated
83+
84+
- Update django-allauth to 0.62.1 ([#5021](https://github.com/cookiecutter/cookiecutter-django/pull/5021))
85+
86+
## 2024.04.23
87+
88+
89+
### Changed
90+
91+
- Update link to djlint on pyproject.toml ([#5019](https://github.com/cookiecutter/cookiecutter-django/pull/5019))
92+
93+
### Updated
94+
95+
- Update redis to 5.0.4 ([#5018](https://github.com/cookiecutter/cookiecutter-django/pull/5018))
96+
97+
- Update django-allauth to 0.62.0 ([#5016](https://github.com/cookiecutter/cookiecutter-django/pull/5016))
98+
99+
## 2024.04.22
100+
101+
102+
### Fixed
103+
104+
- Fix broken link for sphinx-doc in generated docs ([#5015](https://github.com/cookiecutter/cookiecutter-django/pull/5015))
105+
6106
## 2024.04.20
7107

8108

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sphinx==7.3.7
22
sphinx-rtd-theme==2.0.0
3-
myst-parser==2.0.0
3+
myst-parser==3.0.1

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ watchdog[watchmedo]==4.0.0
55

66
# Code quality
77
# ------------------------------------------------------------------------------
8-
ruff==0.4.1
8+
ruff==0.4.3
99
django-upgrade==1.16.0
1010
djlint==1.34.1
1111
pre-commit==3.7.0
1212

1313
# Testing
1414
# ------------------------------------------------------------------------------
15-
tox==4.14.2
16-
pytest==8.1.1
17-
pytest-xdist==3.6.0
15+
tox==4.15.0
16+
pytest==8.2.0
17+
pytest-xdist==3.6.1
1818
pytest-cookies==0.7.0
1919
pytest-instafail==0.5.0
2020
pyyaml==6.0.1
@@ -23,5 +23,5 @@ pyyaml==6.0.1
2323
# ------------------------------------------------------------------------------
2424
pygithub==2.3.0
2525
gitpython==3.1.43
26-
jinja2==3.1.3
26+
jinja2==3.1.4
2727
requests==2.31.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from distutils.core import setup
66

77
# We use calendar versioning
8-
version = "2024.04.20"
8+
version = "2024.05.07"
99

1010
with open("README.md") as readme_file:
1111
long_description = readme_file.read()

{{cookiecutter.project_slug}}/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535

3636
# Run the Ruff linter.
3737
- repo: https://github.com/astral-sh/ruff-pre-commit
38-
rev: v0.4.1
38+
rev: v0.4.3
3939
hooks:
4040
# Linter
4141
- id: ruff

{{cookiecutter.project_slug}}/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"css-loader": "^6.5.1",
1313
"gulp-concat": "^2.6.1",
1414
"concurrently": "^8.0.1",
15-
"cssnano": "^6.0.0",
15+
"cssnano": "^7.0.0",
1616
"gulp": "^4.0.2",
1717
"gulp-imagemin": "^7.1.0",
1818
"gulp-plumber": "^1.2.1",

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ blank_line_after_tag = "load,extends"
4646
close_void_tags = true
4747
format_css = true
4848
format_js = true
49-
# TODO: remove T002 when fixed https://github.com/Riverside-Healthcare/djLint/issues/687
49+
# TODO: remove T002 when fixed https://github.com/djlint/djLint/issues/687
5050
ignore = "H006,H030,H031,T002"
5151
include = "H017,H035"
5252
indent = 2
@@ -151,11 +151,20 @@ select = [
151151
ignore = [
152152
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
153153
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
154-
"SIM102" # sometimes it's better to nest
154+
"SIM102", # sometimes it's better to nest
155+
"UP038" # Checks for uses of isinstance/issubclass that take a tuple
156+
# of types for comparison.
157+
# Deactivated because it can make the code slow:
158+
# https://github.com/astral-sh/ruff/issues/7871
155159
]
156160
# Allow fix for all enabled rules (when `--fix`) is provided.
157161
fixable = ["ALL"]
158162
unfixable = []
163+
# The fixes in extend-unsafe-fixes will require
164+
# provide the `--unsafe-fixes` flag when fixing.
165+
extend-unsafe-fixes = [
166+
"UP038"
167+
]
159168
# Allow unused variables when underscore-prefixed.
160169
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
161170

{{cookiecutter.project_slug}}/requirements/base.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ argon2-cffi==23.1.0 # https://github.com/hynek/argon2_cffi
1111
{%- if cookiecutter.use_whitenoise == 'y' %}
1212
whitenoise==6.6.0 # https://github.com/evansd/whitenoise
1313
{%- endif %}
14-
redis==5.0.3 # https://github.com/redis/redis-py
14+
redis==5.0.4 # https://github.com/redis/redis-py
1515
{%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" %}
1616
hiredis==2.3.2 # https://github.com/redis/hiredis-py
1717
{%- endif %}
@@ -28,10 +28,10 @@ uvicorn[standard]==0.29.0 # https://github.com/encode/uvicorn
2828

2929
# Django
3030
# ------------------------------------------------------------------------------
31-
django==4.2.11 # pyup: < 5.0 # https://www.djangoproject.com/
31+
django==4.2.13 # pyup: < 5.0 # https://www.djangoproject.com/
3232
django-environ==0.11.2 # https://github.com/joke2k/django-environ
33-
django-model-utils==4.5.0 # https://github.com/jazzband/django-model-utils
34-
django-allauth[mfa]==0.61.1 # https://github.com/pennersr/django-allauth
33+
django-model-utils==4.5.1 # https://github.com/jazzband/django-model-utils
34+
django-allauth[mfa]==0.62.1 # https://github.com/pennersr/django-allauth
3535
django-crispy-forms==2.1 # https://github.com/django-crispy-forms/django-crispy-forms
3636
crispy-bootstrap5==2024.2 # https://github.com/django-crispy-forms/crispy-bootstrap5
3737
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}

{{cookiecutter.project_slug}}/requirements/local.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ watchfiles==0.21.0 # https://github.com/samuelcolvin/watchfiles
1515
# ------------------------------------------------------------------------------
1616
mypy==1.7.1 # https://github.com/python/mypy
1717
django-stubs[compatible-mypy]==4.2.7 # https://github.com/typeddjango/django-stubs
18-
pytest==8.1.1 # https://github.com/pytest-dev/pytest
18+
pytest==8.2.0 # https://github.com/pytest-dev/pytest
1919
pytest-sugar==1.0.0 # https://github.com/Frozenball/pytest-sugar
2020
{%- if cookiecutter.use_drf == "y" %}
2121
djangorestframework-stubs[compatible-mypy]==3.14.5 # https://github.com/typeddjango/djangorestframework-stubs
@@ -28,8 +28,8 @@ sphinx-autobuild==2024.4.16 # https://github.com/GaretJax/sphinx-autobuild
2828

2929
# Code quality
3030
# ------------------------------------------------------------------------------
31-
ruff==0.4.1 # https://github.com/astral-sh/ruff
32-
coverage==7.4.4 # https://github.com/nedbat/coveragepy
31+
ruff==0.4.3 # https://github.com/astral-sh/ruff
32+
coverage==7.5.1 # https://github.com/nedbat/coveragepy
3333
djlint==1.34.1 # https://github.com/Riverside-Healthcare/djLint
3434
pre-commit==3.7.0 # https://github.com/pre-commit/pre-commit
3535

0 commit comments

Comments
 (0)