Skip to content

Commit 5eab968

Browse files
committed
ruff check command updated, removed empty spaces
1 parent fedfdff commit 5eab968

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

okrutnik.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# --------------------------------------------
2222

2323
# Version
24-
VERSION=2.1.6
24+
VERSION=2.1.7
2525

2626
# Toolset
2727
TOOLSET="bandit black codespell mypy pylint pyright pylama ruff safety"
@@ -78,7 +78,7 @@ okrutnik_install() {
7878
echo -e "${CYAN}Connecting to an intergalactic relay${ENDCOLOR} 📡"
7979
$PYTHON_BIN -m venv ${VENV}
8080
PATH="${VENV}/bin:${PATH}"
81-
source ${VENV}/bin/activate
81+
source ${VENV}/bin/activate
8282
okrutnik_which_pip
8383
${PIP} install --upgrade pip setuptools wheel
8484
${PIP} install --upgrade ${TOOLSET}
@@ -149,7 +149,7 @@ if [[ "$ARG1" == "-h" ]] || [[ "$ARG1" == "--help" ]]; then
149149
echo "Usage: ./okrutnik.sh [options] <target>"
150150
echo ""
151151
echo "Before <target>:"
152-
echo " -s, --stop Exit on failed linters or errors"
152+
echo " -s, --stop Exit on failed linters or errors"
153153
echo ""
154154
echo "Standalone:"
155155
echo " -h, --help Print this help message"
@@ -209,7 +209,7 @@ echo "Target(s): ${TARGET}"
209209

210210
# Ruff
211211
print "ruff (${ITERATION}/${TOOLS_NUM})"
212-
ruff $TARGET ; pass
212+
ruff check $TARGET ; pass
213213

214214
# codespell
215215
print "codespell (${ITERATION}/${TOOLS_NUM})"

0 commit comments

Comments
 (0)