Skip to content

Commit

Permalink
chore: debug pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Sep 15, 2023
1 parent db2e84f commit 123b411
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .bin/pre-commit-pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ pushd bc_obps || exit 1

# Install poetry
curl -sSL https://install.python-poetry.org | python3 -

# Get the Poetry virtual environment path and save it in a variable
VENV_PATH=$(poetry env info --path)

# Activate the virtual environment
source $(poetry env info --path)/bin/activate
source "$VENV_PATH/bin/activate"

# Run pylint on the bc_obps folder
poetry run pylint --rcfile=.pylintrc *.py

0 comments on commit 123b411

Please sign in to comment.