Skip to content

Commit

Permalink
Add explanatory comment about -I flag
Browse files Browse the repository at this point in the history
  • Loading branch information
runame committed Nov 14, 2024
1 parent 658cded commit 25c26bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ type-check:
@mypy .

test:
# We add the `-I` flag to only use the installed package and not use local modules.
# Note that we cannot add it to all tests because of the implemented import logic.
# See PR #49 for more details.
@python3 -I -m unittest discover -s tests/ -p "*_test.py"
@python3 -I -m unittest discover -s distributed_shampoo/tests/ -p "*_test.py"
@python3 -m unittest discover -s distributed_shampoo/utils/tests/ -p "*_test.py"
Expand Down

0 comments on commit 25c26bd

Please sign in to comment.