Currently, the integration tests access and modify files outside its own directory, namely in ../typeshed. This is dangerous as a user's files could be modified or overwritten. It also doesn't clean up after itself, causing subsequent integration test runs to fail.
I would suggest that the integration tests check out a local shallow copy of typeshed, either into /tmp or a local test directory, and delete it after use.
Currently, the integration tests access and modify files outside its own directory, namely in
../typeshed
. This is dangerous as a user's files could be modified or overwritten. It also doesn't clean up after itself, causing subsequent integration test runs to fail.I would suggest that the integration tests check out a local shallow copy of typeshed, either into
/tmp
or a local test directory, and delete it after use.