diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-10-28 09:17:59 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-10-28 09:43:30 -0700 |
| commit | 51f32bbe93497143b204b95b7ca5513e61754fef (patch) | |
| tree | ffa70a83a56af9aeb0dd5a5e124f239e868731b3 /docs | |
| parent | d599950e6ee19ecf0a05e527cd1381ce71182a24 (diff) | |
| download | flake8-51f32bbe93497143b204b95b7ca5513e61754fef.tar.gz | |
Only use multiprocessing when the method is fork
In python3.8 on macos and in all versions on windows the multiprocessing
method is `spawn` which does not preserve class state.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/internal/utils.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/source/internal/utils.rst b/docs/source/internal/utils.rst index fed9a47..e104d62 100644 --- a/docs/source/internal/utils.rst +++ b/docs/source/internal/utils.rst @@ -59,12 +59,6 @@ allows plugins to use this to retrieve ``stdin`` if necessary. This provides a convenient and explicitly named function that checks if we are currently running on a Windows (or ``nt``) operating system. -.. autofunction:: flake8.utils.can_run_multiprocessing_on_windows - -This provides a separate and distinct check from -:func:`~flake8.utils.is_windows` that allows us to check if the version of -Python we're using can actually use multiprocessing on Windows. - .. autofunction:: flake8.utils.is_using_stdin Another helpful function that is named only to be explicit given it is a very |
