mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 12:36:54 +00:00
fix JobsArgument --help output
This commit is contained in:
parent
94304de684
commit
9b8f908314
2 changed files with 10 additions and 0 deletions
|
|
@ -82,6 +82,10 @@ class JobsArgument:
|
|||
"{!r} must be 'auto' or an integer.".format(arg),
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
"""Format our JobsArgument class."""
|
||||
return "auto" if self.is_auto else str(self.n_jobs)
|
||||
|
||||
|
||||
def register_default_options(option_manager):
|
||||
"""Register the default options on our OptionManager.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue