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
30f53a9f
Unverified
Commit
30f53a9f
authored
Sep 19, 2023
by
Seb Brown
Committed by
GitHub
Sep 19, 2023
Browse files
Merge pull request #110 from jkevingutierrez/patch-8
Fix linters
parents
26d4cafd
e5aef416
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
30f53a9f
...
@@ -24,7 +24,7 @@ lts_42:
...
@@ -24,7 +24,7 @@ lts_42:
flake8
:
flake8
:
stage
:
lint
stage
:
lint
image
:
python:3.
8
image
:
python:3.
10
before_script
:
before_script
:
-
pip install flake8
-
pip install flake8
script
:
script
:
...
...
runtests.py
View file @
30f53a9f
...
@@ -11,7 +11,7 @@ def run():
...
@@ -11,7 +11,7 @@ def run():
try
:
try
:
execute_from_command_line
([
sys
.
argv
[
0
],
'test'
]
+
sys
.
argv
[
1
:])
execute_from_command_line
([
sys
.
argv
[
0
],
'test'
]
+
sys
.
argv
[
1
:])
finally
:
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
(
STATIC_ROOT
,
ignore_errors
=
True
)
shutil
.
rmtree
(
MEDIA_ROOT
,
ignore_errors
=
True
)
shutil
.
rmtree
(
MEDIA_ROOT
,
ignore_errors
=
True
)
...
...
settings.py
View file @
30f53a9f
from
tests.app.settings
import
*
# noqa: F401,F403
from
tests.app.settings
import
*
# noqa: F401,F403
ALLOWED_HOSTS
=
[
"*"
]
ALLOWED_HOSTS
=
[
"*"
]
DATABASES
=
{
DATABASES
=
{
...
...
wagtailvideos/ffmpeg.py
View file @
30f53a9f
...
@@ -6,8 +6,8 @@ import shutil
...
@@ -6,8 +6,8 @@ import shutil
import
subprocess
import
subprocess
import
tempfile
import
tempfile
from
django.core.files.base
import
ContentFile
from
django.conf
import
settings
from
django.conf
import
settings
from
django.core.files.base
import
ContentFile
logger
=
logging
.
getLogger
(
__name__
)
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