Skip to content

Commit

Permalink
Merge pull request #1780 from adbenitez/issue-1779
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Jul 12, 2021
2 parents 85262f0 + 9d2454e commit 55a23be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isort/pylama_isort.py
Expand Up @@ -24,11 +24,11 @@ def allow(self, path: str) -> bool:
"""Determine if this path should be linted."""
return path.endswith(".py")

def run(self, path: str, **meta: Any) -> List[Dict[str, Any]]:
def run(self, path: str, params: Dict[str, Any] = None, **meta: Any) -> List[Dict[str, Any]]:
"""Lint the file. Return an array of error dicts if appropriate."""
with supress_stdout():
try:
if not api.check_file(path, disregard_skip=False):
if not api.check_file(path, disregard_skip=False, **params or {}):
return [
{
"lnum": 0,
Expand Down

0 comments on commit 55a23be

Please sign in to comment.