Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Aug 30, 2023
1 parent fc53f56 commit e6fd3cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libsast/core_matcher/choice_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def scan(self, paths: list) -> dict:

# Multiprocess Pool
worker_count = os.cpu_count()
if sys.platform == "win32":
if sys.platform == 'win32':
# Work around https://bugs.python.org/issue26903
worker_count = min(worker_count, 61)
with Pool(worker_count) as pool:
Expand Down
2 changes: 1 addition & 1 deletion libsast/core_matcher/pattern_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def scan(self, paths: list) -> dict:
files_to_scan.add(sfile)
# Multiprocess Pool
worker_count = os.cpu_count()
if sys.platform == "win32":
if sys.platform == 'win32':
# Work around https://bugs.python.org/issue26903
worker_count = min(worker_count, 61)
with Pool(worker_count) as pool:
Expand Down

0 comments on commit e6fd3cf

Please sign in to comment.