Skip to content

Commit

Permalink
package update in dev(deps-dev): update pre-commit requirement from ^…
Browse files Browse the repository at this point in the history
…3.8.0 to >=3.8,<5.0 (#5)

* package update in dev(deps-dev): update pre-commit requirement

Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.8.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and pre-commit-ci[bot] authored Oct 7, 2024
1 parent b5cd911 commit 77a4f9a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ejemplo/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand All @@ -18,5 +18,5 @@ def main():
execute_from_command_line(sys.argv)


if __name__ == '__main__':
if __name__ == "__main__":
main()
4 changes: 2 additions & 2 deletions ejemplo/pagos/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


class PagosConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'pagos'
default_auto_field = "django.db.models.BigAutoField"
name = "pagos"
2 changes: 1 addition & 1 deletion ejemplo/tienda/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")

application = get_asgi_application()
3 changes: 2 additions & 1 deletion ejemplo/tienda/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"""

from django.contrib import admin
from django.urls import path, include
from django.urls import include, path

from pagos.views import crear_pago

urlpatterns = [
Expand Down
2 changes: 1 addition & 1 deletion ejemplo/tienda/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")

application = get_wsgi_application()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ todos = ["pyflowcl", "pykhipu", "transbank-sdk"]
optional = true

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.8.0"
pre-commit = ">=3.8,<5.0"
black = "^24.8.0"
isort = "^5.13.2"
coverage = "^7.6.1"
Expand Down

0 comments on commit 77a4f9a

Please sign in to comment.