optimize imports

This commit is contained in:
Maximilian Keßler 2021-09-17 10:49:48 +02:00
parent d952a22591
commit fc7c77e5d7
2 changed files with 4 additions and 5 deletions

View file

@ -1,12 +1,11 @@
#!/usr/bin/python3 #!/usr/bin/python3
from pathlib import Path
import yaml
import warnings import warnings
from lectures import Lectures import yaml
from notes import Notes
from config import ROOT, CURRENT_COURSE_ROOT, CURRENT_COURSE_SYMLINK, CURRENT_COURSE_WATCH_FILE, COURSE_IGNORE_FILE, \ from config import ROOT, CURRENT_COURSE_ROOT, CURRENT_COURSE_SYMLINK, CURRENT_COURSE_WATCH_FILE, COURSE_IGNORE_FILE, \
COURSE_INFO_FILE_NAME, FALLBACK_COURSE_INFO_FILE COURSE_INFO_FILE_NAME, FALLBACK_COURSE_INFO_FILE
from notes import Notes
from utils import merge_dictionaries from utils import merge_dictionaries

View file

@ -7,8 +7,8 @@ from datetime import datetime
from config import DATE_FORMAT, LOCALE, DEFAULT_NEW_LECTURE_HEADER, DEFAULT_LECTURE_SEARCH_REGEX, \ from config import DATE_FORMAT, LOCALE, DEFAULT_NEW_LECTURE_HEADER, DEFAULT_LECTURE_SEARCH_REGEX, \
DEFAULT_NEW_LECTURE_TITLE DEFAULT_NEW_LECTURE_TITLE
from utils import get_week
from edit import edit from edit import edit
from utils import get_week
# TODO # TODO
locale.setlocale(locale.LC_TIME, LOCALE) locale.setlocale(locale.LC_TIME, LOCALE)