Skip to content

Fix sys.path pollution in parallel mode #7247

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

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #7246

Extracted from #7117

I don't think it's worth adding a context manager just to handle this one fix.

@jacobtylerwalls jacobtylerwalls added this to the 2.15.0 milestone Jul 31, 2022
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2769939251

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0005%) to 95.255%

Totals Coverage Status
Change from base Build 2765937401: 0.0005%
Covered Lines: 16824
Relevant Lines: 17662

πŸ’› - Coveralls

@github-actions
Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 26fa5f9

@jacobtylerwalls jacobtylerwalls merged commit 5d5f5f7 into pylint-dev:main Jul 31, 2022
@jacobtylerwalls jacobtylerwalls deleted the sys-path-parallel branch July 31, 2022 15:45
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.

check_parallel does not restore sys.path to the original value
3 participants