mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-23 22:39:45 +03:00
Fix/ignore a few new Ruff violations
This commit is contained in:
parent
e9d3dc053a
commit
82b740d1e3
|
@ -17,9 +17,9 @@ app.config_from_object("django.conf:settings", namespace="CELERY")
|
||||||
|
|
||||||
@setup_logging.connect
|
@setup_logging.connect
|
||||||
def config_loggers(*args, **kwargs):
|
def config_loggers(*args, **kwargs):
|
||||||
from logging.config import dictConfig
|
from logging.config import dictConfig # noqa: PLC0415
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings # noqa: PLC0415
|
||||||
|
|
||||||
dictConfig(settings.LOGGING)
|
dictConfig(settings.LOGGING)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user