Skip to content

Commit

Permalink
chore: debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Sep 15, 2023
1 parent 41d88e9 commit 07cca58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .bin/pre-commit-pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ set -euxo pipefail

pushd bc_obps || exit 1

# # Get the Poetry virtual environment path and save it in a variable
# Get the Poetry virtual environment path and save it in a variable
# VENV_PATH=$(poetry env info --path)
curl -sSL https://install.python-poetry.org | python3 -
which poetry

# Activate the virtual environment
# Creating virtualenv registration-ucQVSwfn-py3.10 in /home/runner/.cache/pypoetry/virtualenvs
# source /home/runner/.cache/pypoetry/virtualenvs/bc-obps-3Z4QX3ZS-py3.8/bin/activate
poetry install

poetry run pylint --version

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

0 comments on commit 07cca58

Please sign in to comment.