Skip to content

Commit

Permalink
ruff check command updated, removed empty spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
c0m4r committed Sep 28, 2024
1 parent fedfdff commit 5eab968
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions okrutnik.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# --------------------------------------------

# Version
VERSION=2.1.6
VERSION=2.1.7

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

# Ruff
print "ruff (${ITERATION}/${TOOLS_NUM})"
ruff $TARGET ; pass
ruff check $TARGET ; pass

# codespell
print "codespell (${ITERATION}/${TOOLS_NUM})"
Expand Down

0 comments on commit 5eab968

Please sign in to comment.