Recent updates of dev/ruff and dev/pylint dependencies led to new linting warnings. Pylint 3.2.0 introduced a new check `possibly-used-before-assignment`, which ensures variables are defined regardless of conditional statements. Some if/else branches were missing defaults. These have been fixed.
16 lines
358 B
Python
16 lines
358 B
Python
#!/usr/bin/env python
|
|
"""
|
|
meet's sandbox management script.
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meet.settings")
|
|
os.environ.setdefault("DJANGO_CONFIGURATION", "Development")
|
|
|
|
from configurations.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|