-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
1,509 additions
and
1,060 deletions.
There are no files selected for viewing
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,23 +1,29 @@ | ||
from ambient_package_update.metadata.author import PackageAuthor | ||
from ambient_package_update.metadata.constants import DEV_DEPENDENCIES, LICENSE_MIT | ||
from ambient_package_update.metadata.constants import ( | ||
DEV_DEPENDENCIES, | ||
LICENSE_MIT, | ||
SUPPORTED_DJANGO_VERSIONS, | ||
SUPPORTED_PYTHON_VERSIONS, | ||
) | ||
from ambient_package_update.metadata.package import PackageMetadata | ||
from ambient_package_update.metadata.readme import ReadmeContent | ||
from ambient_package_update.metadata.ruff_ignored_inspection import RuffIgnoredInspection | ||
|
||
METADATA = PackageMetadata( | ||
package_name='ambient_toolbox', | ||
company='Ambient Innovation: GmbH', | ||
package_name="ambient_toolbox", | ||
company="Ambient Innovation: GmbH", | ||
authors=[ | ||
PackageAuthor( | ||
name='Ambient Digital', | ||
email='[email protected]', | ||
name="Ambient Digital", | ||
email="[email protected]", | ||
), | ||
], | ||
development_status='5 - Production/Stable', | ||
min_coverage=96.52, | ||
development_status="5 - Production/Stable", | ||
license=LICENSE_MIT, | ||
license_year=2012, | ||
readme_content=ReadmeContent( | ||
tagline='Python toolbox of Ambient Digital containing an abundance of useful tools and gadgets.', | ||
tagline="Python toolbox of Ambient Digital containing an abundance of useful tools and gadgets.", | ||
content="""## Features | ||
* Useful classes and mixins for Django admin | ||
|
@@ -46,35 +52,40 @@ | |
""", | ||
), | ||
dependencies=[ | ||
'Django>=3.2.20', | ||
'bleach>=1.4,<6', | ||
'python-dateutil>=2.5.3', | ||
"Django>=3.2.20", | ||
"bleach>=1.4,<6", | ||
"python-dateutil>=2.5.3", | ||
], | ||
supported_django_versions=SUPPORTED_DJANGO_VERSIONS, | ||
supported_python_versions=SUPPORTED_PYTHON_VERSIONS, | ||
has_migrations=True, | ||
optional_dependencies={ | ||
'dev': [ | ||
"dev": [ | ||
*DEV_DEPENDENCIES, | ||
'gevent~=22.10', | ||
"gevent~=23.9", | ||
], | ||
'drf': [ | ||
'djangorestframework>=3.8.2', | ||
"drf": [ | ||
"djangorestframework>=3.8.2", | ||
], | ||
'graphql': [ | ||
'graphene-django>=2.2.0', | ||
'django-graphql-jwt>=0.2.1', | ||
"graphql": [ | ||
"graphene-django>=2.2.0", | ||
"django-graphql-jwt>=0.2.1", | ||
], | ||
'sentry': [ | ||
'sentry-sdk>=1.19.1', | ||
"sentry": [ | ||
"sentry-sdk>=1.19.1", | ||
], | ||
'view-layer': [ | ||
'django-crispy-forms>=1.4.0', | ||
"view-layer": [ | ||
"django-crispy-forms>=1.4.0", | ||
], | ||
}, | ||
ruff_ignore_list=[ | ||
RuffIgnoredInspection(key='N999', comment="Project name contains underscore, not fixable"), | ||
RuffIgnoredInspection(key='A003', comment="Django attributes shadow python builtins"), | ||
RuffIgnoredInspection(key='DJ001', comment="Django model text-based fields shouldn't be nullable"), | ||
RuffIgnoredInspection(key='B905', comment="Can be enabled when Python <=3.9 support is dropped"), | ||
RuffIgnoredInspection(key='DTZ001', comment="TODO will affect \"tz_today()\" method"), | ||
RuffIgnoredInspection(key='DTZ005', comment="TODO will affect \"tz_today()\" method"), | ||
RuffIgnoredInspection(key="N999", comment="Project name contains underscore, not fixable"), | ||
RuffIgnoredInspection(key="A003", comment="Django attributes shadow python builtins"), | ||
RuffIgnoredInspection(key="DJ001", comment="Django model text-based fields shouldn't be nullable"), | ||
RuffIgnoredInspection(key="B905", comment="Can be enabled when Python <=3.9 support is dropped"), | ||
RuffIgnoredInspection(key="DTZ001", comment='TODO will affect "tz_today()" method'), | ||
RuffIgnoredInspection(key="DTZ005", comment='TODO will affect "tz_today()" method'), | ||
RuffIgnoredInspection(key="TD002", comment="Missing author in TODO"), | ||
RuffIgnoredInspection(key="TD003", comment="Missing issue link on the line following this TODO"), | ||
], | ||
) |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.12" | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
# formats: | ||
# - epub | ||
|
||
# Optional but recommended, declare the Python requirements required | ||
# to build your documentation | ||
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Python toolbox of Ambient Digital containing an abundance of useful tools and gadgets.""" | ||
|
||
__version__ = '9.1.5' | ||
__version__ = "9.2.0" |
Oops, something went wrong.