Skip to content

Commit

Permalink
🧪 Disable pylint parallelism
Browse files Browse the repository at this point in the history
This turned out to be necessary as pylint tracebacks in
`concurrent.futures` and sometimes reports false-positive import rule
violations instead of printing the trace.

Ref: pylint-dev/pylint#10147
  • Loading branch information
webknjaz committed Dec 22, 2024
1 parent 568ce98 commit ab37df5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ ignore-patterns=

# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
jobs = 0
# jobs = 0
# FIXME: Revert to auto-detection once the pylint bug is fixed. Currently, the
# FIXME: parallel execution mode causes import-related false-positives and
# FIXME: tracebacks.
# Ref: https://github.com/pylint-dev/pylint/issues/10147
jobs = 1

# Control the amount of potential inferred values when inferring a single
# object. This can help the performance when dealing with large functions or
Expand Down

0 comments on commit ab37df5

Please sign in to comment.