You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where test.sh seems to exhibit strange behavior where it appears to be executing black in the home/root directory! However, what's really happening is that developers are setting up a virtual environment INSIDE of the stumpy directory:
cd stumpy.git
python -m venv .venv # Creates a `.venv` directory that houses its own isolated Python environment
source .venv/bin/activate
./setup.sh ci # Or `./setup.sh dev` would work as well
./test.sh
Then, black looks inside of the .venv directory and discovers a tonne of files that do not conform to black standards and that are not technically included in stumpy. flake8 also experiences a similar issue! Thus, we need to remedy this by having both black and flake8 ignore the presence of a .venv directory by adding a --extend-exclude=".venv" flag to the test.sh file
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
There have been several reported issues:
#730 (comment)
#957 (comment)
where
test.sh
seems to exhibit strange behavior where it appears to be executingblack
in the home/root directory! However, what's really happening is that developers are setting up a virtual environment INSIDE of thestumpy
directory:Then,
black
looks inside of the.venv
directory and discovers a tonne of files that do not conform toblack
standards and that are not technically included instumpy
.flake8
also experiences a similar issue! Thus, we need to remedy this by having bothblack
andflake8
ignore the presence of a.venv
directory by adding a--extend-exclude=".venv"
flag to thetest.sh
fileThe text was updated successfully, but these errors were encountered: