Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update reducer to use new implementation of merge environments #14152

Merged
merged 5 commits into from
Oct 12, 2020

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Sep 29, 2020

Didn't move mergeEnvironments() as it's not specific to the reducer, can be used in resolver as well.

@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2020

Codecov Report

Merging #14152 into main will increase coverage by 0.10%.
The diff coverage is 87.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #14152      +/-   ##
==========================================
+ Coverage   59.94%   60.04%   +0.10%     
==========================================
  Files         705      705              
  Lines       39101    39084      -17     
  Branches     5667     5662       -5     
==========================================
+ Hits        23440    23469      +29     
+ Misses      14429    14374      -55     
- Partials     1232     1241       +9     
Impacted Files Coverage Δ
src/client/pythonEnvironments/base/info/env.ts 78.00% <80.00%> (+41.20%) ⬆️
...nts/base/locators/composite/environmentsReducer.ts 95.58% <89.47%> (+0.65%) ⬆️
src/client/common/utils/platform.ts 68.00% <0.00%> (-4.00%) ⬇️
...ient/pythonEnvironments/base/info/pythonVersion.ts 70.37% <0.00%> (+3.70%) ⬆️

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 218dd8d...34ef50d. Read the comment docs.

ericsnowcurrently and others added 3 commits October 12, 2020 13:59
This PR adds some basic helpers that we use in a subsequent PR. The following small drive-by changes are also included:

* drop PythonEnvInfo.id property
* make some internal helpers public
@codecov-io
Copy link

codecov-io commented Oct 12, 2020

Codecov Report

Merging #14152 into main will increase coverage by 0.08%.
The diff coverage is 95.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #14152      +/-   ##
==========================================
+ Coverage   59.28%   59.36%   +0.08%     
==========================================
  Files         715      715              
  Lines       39956    39950       -6     
  Branches     5791     5788       -3     
==========================================
+ Hits        23686    23716      +30     
+ Misses      15021    14975      -46     
- Partials     1249     1259      +10     
Impacted Files Coverage Δ
src/client/pythonEnvironments/base/info/env.ts 78.00% <80.00%> (+40.26%) ⬆️
...nts/base/locators/composite/environmentsReducer.ts 95.58% <100.00%> (+0.65%) ⬆️
src/client/common/utils/platform.ts 68.00% <0.00%> (-4.00%) ⬇️
src/client/datascience/jupyter/jupyterSession.ts 71.42% <0.00%> (-1.21%) ⬇️
...ient/datascience/interactive-ipynb/nativeEditor.ts 7.76% <0.00%> (-0.03%) ⬇️
.../datascience/interactive-common/interactiveBase.ts 5.78% <0.00%> (+<0.01%) ⬆️
...atascience/interactive-window/interactiveWindow.ts 9.41% <0.00%> (+0.11%) ⬆️
...ient/pythonEnvironments/base/info/pythonVersion.ts 77.77% <0.00%> (+3.70%) ⬆️

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 0a1bbbd...d420b69. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Oct 12, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@karthiknadig karthiknadig merged commit f6c4dd9 into microsoft:main Oct 12, 2020
luabud pushed a commit to luabud/vscode-python that referenced this pull request Oct 26, 2020
…soft#14152)

* Add PythonEnvInfo-related helpers. (microsoft#14051)

This PR adds some basic helpers that we use in a subsequent PR. The following small drive-by changes are also included:

* drop PythonEnvInfo.id property
* make some internal helpers public

* Undo unintentional formatting changes

* And?

* Fix missing default

* Fix linting

Co-authored-by: Eric Snow <eric.snow@microsoft.com>
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants