Skip to content

Commit

Permalink
Update sphinxlint/__main__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
rtobar and AA-Turner authored Oct 11, 2023
1 parent 00fab92 commit 607e991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxlint/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __call__(self, parser, namespace, values, option_string=None):

class StoreNumJobsAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None):
setattr(namespace, self.dest, StoreNumJobsAction._job_count(values))
setattr(namespace, self.dest, self._job_count(values))
def _job_count(values):
if values == "auto":
return os.cpu_count()
Expand Down

0 comments on commit 607e991

Please sign in to comment.