Skip to content

Commit

Permalink
Update project files to prepare for new release v3.1
Browse files Browse the repository at this point in the history
Add support for Python 3.13 and Django 5.1 in setup.cfg. Update changelog with changes for release v3.1, add new contributors to AUTHORS.rst, and include Black in pre-commit hooks.
  • Loading branch information
StevenMapes committed Oct 18, 2024
1 parent 4f7a52f commit f429d2b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
``decorator_include`` was written by Jeff Kistler in 2011.

Adapted for Python 3 and Django 1.6+ by Stéphane "Twidi" Angel <s.angel@twidi.com>
Adapted for Python 3.10 and Django 4+ by Steven Mapes <steve@mapestech.co.uk>

Contributors
------------

* Jeff Kistler
* Stéphane "Twidi" Angel <https://www.twidi.com/>
* Steve Mapes <https://www.mapestech.co.uk/>
* Jon Dufresne <jon.dufresne@gmail.com>
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

Release *v3.1* - ``TBC``
-------------------------------
* Updated to include support for Python < 3.14 and Django <5.2
* Updated to use Black along with Flake8 and iSort

Release *v3.0* - ``2020-05-07``
-------------------------------
* Handle namespace/app_name the same way as Django `include` function
Expand Down
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Or simply launch the ``runtests.sh`` script (it will run this exact command)::

./runtests.sh

This project uses `pre-commit`_ to automatically run `flake8`_ and `isort`_ on
This project uses `pre-commit`_ to automatically run `black`_ , `flake8`_ and `isort`_ on
every commit. If you haven't already, first install pre-commit using the
project's documentation. Then, to enable pre-commit for
django-decorator-include::
Expand All @@ -158,3 +158,5 @@ When creating the pull request, ensure you are using the correct base
.. _pre-commit: https://pre-commit.com/
.. _flake8: https://flake8.pycqa.org/
.. _isort: https://pycqa.github.io/isort/
.. _black: https://github.com/psf/black/

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Expand All @@ -33,6 +34,7 @@ classifiers =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Topic :: Internet :: WWW/HTTP

[options]
Expand Down

0 comments on commit f429d2b

Please sign in to comment.