mirror of
https://github.com/LukeHagar/ytdl-sub.git
synced 2025-12-09 21:07:45 +00:00
bash fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Run within root directory
|
# Run within root directory
|
||||||
|
|
||||||
if [ $1 = "check" ]; then
|
if [[ $1 = "check" ]]; then
|
||||||
isort . --check-only --diff \
|
isort . --check-only --diff \
|
||||||
&& black . --check \
|
&& black . --check \
|
||||||
&& pylint src/ \
|
&& pylint src/ \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Run within root directory
|
# Run within root directory
|
||||||
|
|
||||||
if [ $1 = "html" ]; then
|
if [[ $1 = "html" ]]; then
|
||||||
coverage run -m pytest && coverage html
|
coverage run -m pytest && coverage html
|
||||||
else
|
else
|
||||||
coverage run -m pytest && coverage report
|
coverage run -m pytest && coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user