Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
e5aef416
Commit
e5aef416
authored
Sep 13, 2023
by
Kevin Gutierrez
Browse files
Fix linters
parent
26d4cafd
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e5aef416
...
...
@@ -24,7 +24,7 @@ lts_42:
flake8
:
stage
:
lint
image
:
python:3.
8
image
:
python:3.
10
before_script
:
-
pip install flake8
script
:
...
...
runtests.py
View file @
e5aef416
...
...
@@ -11,7 +11,7 @@ def run():
try
:
execute_from_command_line
([
sys
.
argv
[
0
],
'test'
]
+
sys
.
argv
[
1
:])
finally
:
from
tests.app.settings
import
STATIC
_ROOT
,
MEDIA
_ROOT
from
tests.app.settings
import
MEDIA
_ROOT
,
STATIC
_ROOT
shutil
.
rmtree
(
STATIC_ROOT
,
ignore_errors
=
True
)
shutil
.
rmtree
(
MEDIA_ROOT
,
ignore_errors
=
True
)
...
...
settings.py
View file @
e5aef416
from
tests.app.settings
import
*
# noqa: F401,F403
ALLOWED_HOSTS
=
[
"*"
]
DATABASES
=
{
...
...
wagtailvideos/ffmpeg.py
View file @
e5aef416
...
...
@@ -6,8 +6,8 @@ import shutil
import
subprocess
import
tempfile
from
django.core.files.base
import
ContentFile
from
django.conf
import
settings
from
django.core.files.base
import
ContentFile
logger
=
logging
.
getLogger
(
__name__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment