-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Merge maintenance 2.15.9 in main #7956
Merged
Pierre-Sassoulas
merged 10 commits into
pylint-dev:main
from
Pierre-Sassoulas:merge-maintenance-2.15.x-in-main
Dec 17, 2022
Merged
Merge maintenance 2.15.9 in main #7956
Pierre-Sassoulas
merged 10 commits into
pylint-dev:main
from
Pierre-Sassoulas:merge-maintenance-2.15.x-in-main
Dec 17, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…lint-dev#7922) (pylint-dev#7923) (cherry picked from commit bc9f15f) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
… (pylint-dev#7930) * Replace multiprocessing.pool with concurrent.futures.ProcessPoolExecutor to avoid deadlocks. In a multiprocessing.pool, if a process terminates in a non-clean fashion (for example, due to OOM or a segmentation fault), the pool will silently replace said process, but the work that the process was supposed to do will never be done, causing pylint to hang indefinitely. The concurrent.futures.ProcessPoolExecutor will raise a BrokenProcessPool exception in that case, avoiding the hang. Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> (cherry picked from commit 5eca8ec) Co-authored-by: Daniel <daniel.werner@scalableminds.com>
…ylint-dev#7918) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
…ylint-dev#7941) Ensure that the import path is fixed up before calling ._astroid_module_checker() so that the pylint_django plugin can successfully import the Django settings module when its checkers are initialized. Closes pylint-dev#7938 (cherry picked from commit 491eef5) Co-authored-by: Daniel Harding <dharding@living180.net>
…rror code (pylint-dev#7931) (pylint-dev#7943) Returning 2 here is confusing as it doesn't match the documentation: https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#exit-codes * pylint: use exit code 32 when invalid arguments are passed * pylint: add failing test when ambiguous abbreviated parameters are set in a config file This is confusing behaviour. The output is: ``` usage: pylint [options] pylint: error: ambiguous option: --no could match --notes, --notes-rgx, --no-docstring-rgx ``` The exit code is 2 which doesn't match the documentation: https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#exit-codes * pylint: use exit code 32 when ambiguous abbreviated parameters are set in a config file Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 62232b3) Co-authored-by: David Lawson <dmrlawson@gmail.com>
…t-dev#7948) In order to help when the target interpreter is not installed locally and you can't update automatically yourself (pypy/old interpreters like python 3.7). Done for: Refs pylint-dev#7945
Pierre-Sassoulas
added
Maintenance
Discussion or action around maintaining pylint or the dev workflow
Skip news 🔇
This change does not require a changelog entry
labels
Dec 17, 2022
Pull Request Test Coverage Report for Build 3720380620
💛 - Coveralls |
DanielNoord
approved these changes
Dec 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Maintenance
Discussion or action around maintaining pylint or the dev workflow
Skip news 🔇
This change does not require a changelog entry
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.