Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-six committed Apr 4, 2024
1 parent b91e529 commit 1829a53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
hooks:
- id: mypy
exclude: (manage.py|models.py|(migrations/)|admin.py)
additional_dependencies: [pydantic, types-redis]
additional_dependencies: [pydantic, types-redis, aiomqtt]
language_version: python3.11
- repo: https://github.com/PyCQA/pylint
rev: v3.1.0
Expand All @@ -58,6 +58,7 @@ repos:
motor,
redis,
types-redis,
aiomqtt,
]
exclude: django_project/
language_version: python3.11
Expand Down
4 changes: 2 additions & 2 deletions django_project/django_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS: list[str] = []


# Application definition
Expand All @@ -53,7 +53,7 @@

ROOT_URLCONF = 'django_project.urls'

TEMPLATES = [ # type: ignore
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
Expand Down

0 comments on commit 1829a53

Please sign in to comment.