Skip to content

Commit 8363ea0

Browse files
Merge pull request #76 from MEHRSHAD-MIRSHEKARY/main
⚡ 🔨 refactor: renamed setup_django in test fixtures
2 parents c84ea73 + 5fd0c90 commit 8363ea0

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## v1.0.2 (2024-09-02)
2+
**Added**
3+
- tag_format in commitizen configuration in pyproject.toml
4+
- changelog path in poetry urls
5+
6+
**Refactored**
7+
- Renamed setup_django into settings_configuration in tests dir
8+
- Moved settings_configuration from fixtures into tests root dir
9+
10+
111
## v1.0.1 (2024-09-02)
12+
**Refactored**
13+
- Updated badges path in README.md and installation guide
14+
- Updated badges path in index.rst and installation guide
15+
- Updated headers in RestructuredText documentations
16+
17+
**Fixed**
18+
- Removed repository from tool.poetry
19+
- Fixed read the docs path in poetry urls
220

321
## v1.0.0 (2024-09-02)
22+
- initial Release

django_logging/tests/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
request_middleware,
1919
reset_settings,
2020
)
21-
from django_logging.tests.fixtures.setup_django import configure_django_settings
21+
from django_logging.tests.settings_configuration import configure_django_settings
22+
2223
configure_django_settings()

django_logging/tests/fixtures/setup_django.py django_logging/tests/settings_configuration.py

-4
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,3 @@ def configure_django_settings():
4949
ADMIN_EMAIL="[email protected]",
5050
)
5151
django.setup()
52-
53-
54-
# Call this function before running your tests
55-
configure_django_settings()

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ packages = [
3939
[tool.poetry.urls]
4040
"Documentation" = "https://django-logging.readthedocs.io"
4141
"Source Code" = "https://github.com/ARYAN-NIKNEZHAD/django_logging"
42+
"Changelog" = "https://github.com/ARYAN-NIKNEZHAD/django_logging/blob/main/CHANGELOG.md"
4243
"Issues" = "https://github.com/ARYAN-NIKNEZHAD/django_logging/issues"
4344

4445
[tool.poetry.dependencies]
@@ -240,9 +241,8 @@ B104 = { check_typed_list = true }
240241

241242
[tool.commitizen]
242243
name = "cz_conventional_commits"
243-
version = "1.0.1"
244-
changelog_file = "CHANGELOG.md"
244+
version = "1.0.2"
245+
tag_format = "v$version"
245246

246247
[tool.commitizen.settings]
247-
tag_format = "v$version"
248248
increment_types = [ "feat", "fix" ]

0 commit comments

Comments
 (0)