Skip to content

Commit

Permalink
Bump version to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThearMan committed Oct 31, 2024
1 parent cfe2bed commit 15a93be
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ body:
If you are not using the latest version, please try to also reproduce the bug
on the latest version before opening the issue.
options:
- "0.4.2"
- "0.4.1"
- "0.4.0"
- "0.3.1"
Expand All @@ -47,6 +48,7 @@ body:
description: >-
Please note that python versions not available below are not supported.
options:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

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

24 changes: 22 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-admin-data-views"
version = "0.4.1"
version = "0.4.2"
description = "Add custom data views to django admin panel."
authors = [
"Matti Lamppu <[email protected]>",
Expand Down Expand Up @@ -51,7 +51,8 @@ exclude = [
[tool.poetry.dependencies]
python = ">=3.10,<4"
Django = ">=4.2"
django-settings-holder = ">=0.1.2"
django-settings-holder = ">=0.2.0"
typing-extensions = { version = ">=4.12.1", python = "<3.11" }

[tool.poetry.group.test.dependencies]
pytest = "8.3.3"
Expand Down Expand Up @@ -183,6 +184,25 @@ lint.ignore = [
"W191", # tab-indentation
]

[tool.ruff.lint.extend-per-file-ignores]
"**/*/test_*.py" = [
"ANN", # No need to annotate tests
"E721", # No need to compare to True
"N801", # Allow whatever class names in tests
"N802", # Allow whatever function names in tests
"N815", # Allow whatever variable names in tests
"PLR0915", # Can have as many statements as needed
"PLR2004", # Magic value comparisons are allowed in tests
"S101", # Assert is fine
"S105", # Hardcoded passwords are fine in tests
"S106", # Hardcoded passwords are fine in tests
"S108", # No need to care about insecure temp file usages in tests
"S311", # Pseudo-random generators are fine here
"SLF", # Allow accessing private members in tests
"UP", # No upgrade rules
"PLR0914", # Too many local variables
]

[tool.mypy]
python_version = "3.13"
warn_return_any = "True"
Expand Down

0 comments on commit 15a93be

Please sign in to comment.