Skip to content

Commit ee02f85

Browse files
committed
Merge branch 'develop' into tox-add-env
2 parents 7bbfce8 + 153f3f9 commit ee02f85

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ passenv =[
176176
omit = [
177177
"*/tests.py",
178178
"*/tests/test_*.py",
179+
"*/migrations/*.py",
179180
]
180181
[tool.coverage.report]
181182
exclude_also = [

src/bma/environment_settings.py.ci

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,32 +49,32 @@ LICENSES=[
4949
NGINX_PROXY=False
5050

5151
ALLOWED_IMAGE_TYPES={
52-
"image/jpeg": ["jpg", "jpe", "jpeg"],
53-
"image/bmp": ["bmp"],
54-
"image/svg+xml": ["svg"],
55-
"image/tiff": ["tif", "tiff"],
56-
"image/png": ["png"],
52+
"image/jpeg": "jpg",
53+
"image/bmp": "bmp",
54+
"image/svg+xml": "svg",
55+
"image/tiff": "tif",
56+
"image/png": "png",
5757
}
5858

5959
ALLOWED_VIDEO_TYPES={
60-
"video/mpeg": ["mp2", "mpa", "mpe", "mpeg", "mpg", "mpv2"],
61-
"video/mp4": ["mp4"],
62-
"video/quicktime": ["mov", "qt"],
63-
"video/x-ms-asf": ["asf", "asr", "asx"],
60+
"video/mpeg": "mp2",
61+
"video/mp4": "mp4",
62+
"video/quicktime": "mov",
63+
"video/x-ms-asf": "asf",
6464
}
6565

6666
ALLOWED_AUDIO_TYPES={
67-
"audio/basic": ["snd", "au"],
68-
"audio/mid": ["mid", "rmi"],
69-
"audio/mpeg": ["mp3"],
70-
"audio/x-aiff": ["aif", "aifc", "aiff"],
71-
"audio/x-pn-realaudio": ["ra", "ram"],
72-
"audio/x-wav": ["wav"],
67+
"audio/basic": "snd",
68+
"audio/mid": "mid",
69+
"audio/mpeg": "mp3",
70+
"audio/x-aiff": "aif",
71+
"audio/x-pn-realaudio": "ra",
72+
"audio/x-wav": "wav",
7373
}
7474

7575
ALLOWED_DOCUMENT_TYPES={
76-
"text/plain": ["txt"],
77-
"application/pdf": ["pdf"],
76+
"text/plain": "txt",
77+
"application/pdf": "pdf",
7878
}
7979

8080
# filetype icons

0 commit comments

Comments
 (0)