keras-team/keras-tuner

Fix shell scripts.

airvzxf opened this issue · 1 comments

Describe the bug

I set up the vEnv for python and created the build, every time I run the format.sh and lint.sh, it spends plenty of time because it is scanning the folder venv, build, and more.

To Reproduce

Create the venv

python -m venv venv
source venv/bin/activate
pipi install tensorflow

# Execute the shell scripts
# Take a lot of minutes to finish
./shell/format.sh
./shell/lint.sh

Expected behavior

Only scan inside the keras_tuner folder.

Additional context

I wonder if these two scripts apply to other places, for example: docs/, shell/, build.py and setup.py. In this case, we can add to the list of scanning folders. Or create an exception, for example, exclude: build, venv, etcetera.

Would you like to help us fix it?
Yes, it is in the pull request #906 – Fix shell scripts for format and lint.

Thank you, I'll close the issue since the pull request was merged.