Skip to content

Match dots in ignorePatterns globs; fixes .venv not being ignored#3948

Merged
DonJayamanne merged 1 commit intomicrosoft:masterfrom
russelldavis:fix-ignore-patterns
Jan 18, 2019
Merged

Match dots in ignorePatterns globs; fixes .venv not being ignored#3948
DonJayamanne merged 1 commit intomicrosoft:masterfrom
russelldavis:fix-ignore-patterns

Conversation

@russelldavis
Copy link

For #3947. Verified the plugin now ignores .venv.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Unit tests & system/integration tests are added/updated
  • Test plan is updated as appropriate
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

Without this, the default `**/site-packages/**/*.py` ignorePattern
fails to ignore site-packages in the .venv directory (a standard
directory name for virtual environments, which even this project
recommends using)
@msftclas
Copy link

msftclas commented Jan 9, 2019

CLA assistant check
All CLA requirements met.

@codecov
Copy link

codecov bot commented Jan 9, 2019

Codecov Report

Merging #3948 into master will increase coverage by 1%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #3948    +/-   ##
=======================================
+ Coverage      78%     78%    +1%     
=======================================
  Files         402     406     +4     
  Lines       18572   19560   +988     
  Branches     2985    3241   +256     
=======================================
+ Hits        14352   15251   +899     
- Misses       4218    4307    +89     
  Partials        2       2
Flag Coverage Δ
#Linux 68% <100%> (+1%) ⬆️
#Windows 69% <100%> (+1%) ⬆️
#macOS 68% <100%> (+1%) ⬆️
Impacted Files Coverage Δ
src/client/linters/lintingEngine.ts 91% <100%> (ø) ⬆️
src/client/extension.ts 90% <0%> (-5%) ⬇️
...reter/locators/services/cacheableLocatorService.ts 96% <0%> (-1%) ⬇️
...preter/locators/services/windowsRegistryService.ts 93% <0%> (ø) ⬇️
src/client/common/terminal/helper.ts 95% <0%> (ø) ⬇️
src/client/unittests/common/runner.ts 93% <0%> (ø) ⬇️
src/client/common/process/proc.ts 95% <0%> (ø) ⬇️
...rc/client/common/process/pythonExecutionFactory.ts 100% <0%> (ø) ⬆️
src/client/common/terminal/types.ts 100% <0%> (ø) ⬆️
src/client/interpreter/contracts.ts 100% <0%> (ø) ⬆️
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f45d105...97a0c23. Read the comment docs.

@karrtikr karrtikr added the bug Issue identified by VS Code Team member as probable bug label Jan 12, 2019
@d3r3kk d3r3kk added this to the 2019, week 3 - Jan Sprint 2 milestone Jan 17, 2019
@DonJayamanne DonJayamanne merged commit a39c939 into microsoft:master Jan 18, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants