Skip to content

LocalSourcesWatcher: blacklist venv and hidden folders#188

Merged
tvst merged 5 commits intodevelopfrom
tim/BlacklistVirtualenvInWatchdog
Sep 27, 2019
Merged

LocalSourcesWatcher: blacklist venv and hidden folders#188
tvst merged 5 commits intodevelopfrom
tim/BlacklistVirtualenvInWatchdog

Conversation

@tconkling
Copy link
Copy Markdown
Contributor

LocalSourcesWatcher blacklists conda folders (anaconda2/3, miniconda2/3) and any folder whose name starts with a ..

For simplicity, the blacklist syntax now supports Unix glob patterns.

(Also, there are a few unrelated tests that I cleaned up while I was fixing the new tests that were written for this PR.)

Fixes #129

Also cleans up a few unrelated tests that I hit while testing this
fix
@tconkling tconkling requested review from kantuni and tvst September 25, 2019 19:26
@tvst tvst merged commit ccad93f into develop Sep 27, 2019
@tvst tvst deleted the tim/BlacklistVirtualenvInWatchdog branch September 27, 2019 00:55
@tvst
Copy link
Copy Markdown
Contributor

tvst commented Sep 27, 2019

There were 2 failing e2e tests, but I merged anyway since they are unrelated to this PR. I believe our tests are still a bit flaky right now :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blacklist common virtualenv folders by default

2 participants