diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-14 09:06:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 09:06:16 -0400 |
commit | 4e48d46b7239c2d7a70a05929fd49595d45cc29f (patch) | |
tree | acec40ebd24109f8ef06ed8b93c0f940fa24ea9a /doc | |
parent | aed3c080388a8dc1d44c1a14a5ed243233f77c1c (diff) | |
download | pylint-git-4e48d46b7239c2d7a70a05929fd49595d45cc29f.tar.gz |
Load custom plugins when linting in parallel (#8683)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user_guide/usage/run.rst | 8 | ||||
-rw-r--r-- | doc/whatsnew/fragments/4874.bugfix | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst index 7e6e1a830..5cb02e557 100644 --- a/doc/user_guide/usage/run.rst +++ b/doc/user_guide/usage/run.rst @@ -160,10 +160,10 @@ This will spawn 4 parallel Pylint sub-process, where each provided module will be checked in parallel. Discovered problems by checkers are not displayed immediately. They are shown just after checking a module is complete. -There are some limitations in running checks in parallel in the current -implementation. It is not possible to use custom plugins -(i.e. ``--load-plugins`` option), nor it is not possible to use -initialization hooks (i.e. the ``--init-hook`` option). +There is one known limitation with running checks in parallel as currently +implemented. Since the division of files into worker processes is indeterminate, +checkers that depend on comparing multiple files (e.g. ``cyclic-import`` +and ``duplicate-code``) can produce indeterminate results. Exit codes ---------- diff --git a/doc/whatsnew/fragments/4874.bugfix b/doc/whatsnew/fragments/4874.bugfix new file mode 100644 index 000000000..9dcb34c1f --- /dev/null +++ b/doc/whatsnew/fragments/4874.bugfix @@ -0,0 +1,5 @@ +``--jobs`` can now be used with ``--load-plugins``. + +This had regressed in astroid 2.5.0. + +Closes #4874 |