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

Clear context cache in AstroidManager.clear_cache() #2043

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Mar 4, 2023

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

We missed one cache when improving AstroidManager.clear_cache() in recent releases.

Refs #1780

@jacobtylerwalls jacobtylerwalls added this to the 2.15.0 milestone Mar 4, 2023
@codecov
Copy link

codecov bot commented Mar 4, 2023

Codecov Report

Merging #2043 (75423e7) into main (925910a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2043   +/-   ##
=======================================
  Coverage   92.78%   92.79%           
=======================================
  Files          95       95           
  Lines       11012    11013    +1     
=======================================
+ Hits        10218    10219    +1     
  Misses        794      794           
Flag Coverage Ξ”
linux 92.55% <100.00%> (+<0.01%) ⬆️
pypy 88.52% <100.00%> (+<0.01%) ⬆️
windows 92.34% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
astroid/manager.py 88.20% <100.00%> (+0.05%) ⬆️

@jacobtylerwalls jacobtylerwalls merged commit 7aa2c34 into pylint-dev:main Mar 4, 2023
@jacobtylerwalls jacobtylerwalls deleted the clear-inference-context-cache branch March 4, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants