-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add typing - add hatch version management - add github actions
- Loading branch information
Showing
20 changed files
with
923 additions
and
207 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
[build-system] | ||
build-backend = "hatchling.build" | ||
requires = [ | ||
"hatch-vcs>=0.4", | ||
"hatchling>=1.25", | ||
] | ||
|
||
[project] | ||
name = "django-adminactions" | ||
version = "2.3.0" | ||
description = "Collections of useful actions to use with django.contrib.admin.ModelAdmin" | ||
readme = "README.md" | ||
license = { text = "MIT" } | ||
license.file = "LICENSE" | ||
maintainers = [ | ||
{ name = "Stefano Apostolico", email = "[email protected]" }, | ||
] | ||
authors = [ | ||
{ name = "sax", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.11.0" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
|
@@ -17,11 +26,16 @@ classifiers = [ | |
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
|
||
dynamic = [ | ||
"version", | ||
] | ||
dependencies = [ | ||
"pytz", | ||
"xlrd>=0.9.2", | ||
|
@@ -34,23 +48,22 @@ urls.Homepage = "https://github.com/saxix/django-adminactions" | |
|
||
[dependency-groups] | ||
dev = [ | ||
"black>=25.1", | ||
"celery>=5.4", | ||
"check-manifest>=0.50", | ||
"django-admin-extra-urls>=4.1.1", | ||
"django-dynamic-fixture>=4.0.1", | ||
"django-environ>=0.12", | ||
"django-webtest>1.9.6", | ||
"mock>=1.0.1", | ||
"modernize>=0.8", | ||
"mypy>=1.15", | ||
"pillow>=11.1", | ||
"psycopg2>=2.9.10", | ||
"pytest>=8.3.4", | ||
"pytest-cache>=1", | ||
"pytest-cov>=6", | ||
"pytest-django>=4.9", | ||
"pytest-echo>=1.8.1", | ||
"celery", | ||
"check-manifest", | ||
"django-admin-extra-urls", | ||
"django-dynamic-fixture", | ||
"django-environ", | ||
"django-webtest", | ||
"mock", | ||
"modernize", | ||
"mypy", | ||
"pillow", | ||
"psycopg2", | ||
"pytest", | ||
"pytest-cache", | ||
"pytest-cov", | ||
"pytest-django", | ||
"pytest-echo", | ||
"readme>=0.7.1", | ||
"redis>=5.2.1", | ||
"ruff>=0.9.4", | ||
|
@@ -59,9 +72,18 @@ dev = [ | |
"tox>=4.2", | ||
] | ||
|
||
[tool.hatch] | ||
build.hooks.vcs.version-file = "src/adminactions/version.py" | ||
version.source = "vcs" | ||
|
||
[tool.ruff] | ||
target-version = "py311" | ||
line-length = 120 | ||
exclude = [ | ||
"docs", | ||
"manage.py", | ||
"tests", | ||
] | ||
format.preview = true | ||
format.docstring-code-line-length = 100 | ||
format.docstring-code-format = true | ||
|
@@ -100,7 +122,6 @@ lint.ignore = [ | |
"SLF", | ||
"TRY", | ||
"UP", | ||
|
||
] | ||
lint.per-file-ignores."docs/conf.py" = [ | ||
"A001", # | ||
|
@@ -113,6 +134,7 @@ lint.per-file-ignores."tests/**/*.py" = [ | |
"FBT", # don"t care about booleans as positional arguments in tests | ||
"INP001", # no implicit namespace | ||
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable | ||
"PT", | ||
"S101", # asserts allowed in tests... | ||
"S603", # `subprocess` call: check for execution of untrusted input | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VERSION = __version__ = "2.3.0" | ||
NAME = "django-adminactions" | ||
default_app_config = "adminactions.apps.Config" | ||
# VERSION = __version__ = "2.3.0" | ||
# NAME = "django-adminactions" | ||
# default_app_config = "adminactions.apps.Config" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
src/adminactions/templates/adminactions/bulk_update_results.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.