Update Ruff and fix its errors
This commit is contained in:
parent
c54ceeb7a8
commit
1424978854
39 changed files with 183 additions and 175 deletions
|
|
@ -13,7 +13,7 @@ def main() -> None:
|
|||
"""
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
|
||||
try:
|
||||
from django.core.management import execute_from_command_line # noqa: PLC0415
|
||||
from django.core.management import execute_from_command_line # ruff:ignore[import-outside-top-level, unsorted-imports]
|
||||
except ImportError as exc:
|
||||
msg = (
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue