-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ronny Vedrilla
committed
Nov 3, 2023
1 parent
f73472e
commit c860d05
Showing
19 changed files
with
107 additions
and
94 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 |
---|---|---|
|
@@ -9,17 +9,17 @@ | |
from ambient_package_update.metadata.readme import ReadmeContent | ||
|
||
METADATA = PackageMetadata( | ||
package_name='django_migration_zero', | ||
package_name="django_migration_zero", | ||
authors=[ | ||
PackageAuthor( | ||
name='Ambient Digital', | ||
email='[email protected]', | ||
name="Ambient Digital", | ||
email="[email protected]", | ||
), | ||
], | ||
company='Ambient Innovation: GmbH', | ||
company="Ambient Innovation: GmbH", | ||
license=LICENSE_MIT, | ||
license_year=2023, | ||
development_status='5 - Production/Stable', | ||
development_status="5 - Production/Stable", | ||
has_migrations=True, | ||
readme_content=ReadmeContent( | ||
tagline="""Welcome to **django-migration-zero** - the holistic implementation of "migration zero" pattern for | ||
|
@@ -68,12 +68,12 @@ | |
```""", | ||
), | ||
dependencies=[ | ||
'Django>=3.2', | ||
"Django>=3.2", | ||
], | ||
supported_django_versions=SUPPORTED_DJANGO_VERSIONS, | ||
supported_python_versions=SUPPORTED_PYTHON_VERSIONS, | ||
optional_dependencies={ | ||
'dev': [*DEV_DEPENDENCIES, "unittest-parametrize~=1.3"], | ||
"dev": [*DEV_DEPENDENCIES, "unittest-parametrize~=1.3"], | ||
}, | ||
ruff_ignore_list=[], | ||
) |
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
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 |
---|---|---|
|
@@ -16,69 +16,69 @@ | |
import django | ||
from django.conf import settings | ||
|
||
sys.path.insert(0, os.path.abspath('..')) # so that we can access the "django_migration_zero" package | ||
sys.path.insert(0, os.path.abspath("..")) # so that we can access the "django_migration_zero" package | ||
settings.configure( | ||
INSTALLED_APPS=[ | ||
'django.contrib.admin', | ||
'django.contrib.auth', | ||
'django.contrib.contenttypes', | ||
'django.contrib.sessions', | ||
'django.contrib.messages', | ||
'django.contrib.staticfiles', | ||
'django_migration_zero', | ||
"django.contrib.admin", | ||
"django.contrib.auth", | ||
"django.contrib.contenttypes", | ||
"django.contrib.sessions", | ||
"django.contrib.messages", | ||
"django.contrib.staticfiles", | ||
"django_migration_zero", | ||
], | ||
SECRET_KEY='ASDFjklö123456890', | ||
SECRET_KEY="ASDFjklö123456890", | ||
) | ||
django.setup() | ||
|
||
from django_migration_zero import __version__ # noqa: E402 | ||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = 'django-migration-zero' | ||
copyright = '2023, Ambient Innovation: GmbH' # noqa: A001 | ||
author = 'Ambient Innovation: GmbH <[email protected]>' | ||
project = "django-migration-zero" | ||
copyright = "2023, Ambient Innovation: GmbH" # noqa: A001 | ||
author = "Ambient Innovation: GmbH <[email protected]>" | ||
version = __version__ | ||
release = __version__ | ||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
# Add any Sphinx extension module names here, as strings. They can be | ||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
# extensions coming with Sphinx (named "sphinx.ext.*") or your custom | ||
# ones. | ||
extensions = [ | ||
'sphinx_rtd_theme', | ||
'sphinx.ext.autodoc', | ||
'm2r2', | ||
"sphinx_rtd_theme", | ||
"sphinx.ext.autodoc", | ||
"m2r2", | ||
] | ||
|
||
source_suffix = ['.rst', '.md'] | ||
source_suffix = [".rst", ".md"] | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
templates_path = ["_templates"] | ||
|
||
# List of patterns, relative to source directory, that match files and | ||
# directories to ignore when looking for source files. | ||
# This pattern also affects html_static_path and html_extra_path. | ||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | ||
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] | ||
|
||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
# html_theme = 'alabaster' | ||
html_theme = 'sphinx_rtd_theme' | ||
# html_theme = "alabaster" | ||
html_theme = "sphinx_rtd_theme" | ||
html_theme_options = { | ||
'display_version': False, | ||
'style_external_links': False, | ||
"display_version": False, | ||
"style_external_links": False, | ||
} | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ['_static'] | ||
html_static_path = ["_static"] | ||
|
||
# Set master doc file | ||
master_doc = 'index' | ||
master_doc = "index" |
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 |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
|
||
urlpatterns = [ | ||
# django Admin | ||
path('admin/', admin.site.urls), | ||
path("admin/", admin.site.urls), | ||
] |
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.