CI: flake8 the file

This commit is contained in:
Sebastian Spaeth 2023-09-18 13:44:09 +02:00
parent 9eea97f1e1
commit b01eb97a47

View File

@ -12,18 +12,14 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# mediaapi_media_repository: media_id | media_origin | content_type | file_size_bytes | creation_ts | upload_name | base64hash | user_id
# mediaapi_thumbnail: media_id | media_origin | content_type | file_size_bytes | creation_ts | width | height | resize_method
import argparse
import logging
from datetime import datetime, timedelta
from functools import cached_property
from pathlib import Path
from typing import Optional, Union, List, Tuple
try:
import psycopg2, psycopg2.extensions
import psycopg2, psycopg2.extensions # noqa: E401
import yaml
except ImportError:
raise Exception("Please install psycopg2 and pyyaml")