diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f16a239..5fc6e2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/python/black - rev: 21.6b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/fsfe/reuse-tool diff --git a/adafruit_shell.py b/adafruit_shell.py index fea0596..c39f23c 100644 --- a/adafruit_shell.py +++ b/adafruit_shell.py @@ -257,9 +257,7 @@ class Shell: Run the grep command and return the result """ location = self.path(location) - return self.run_command( - f"grep {search_term} {location}", suppress_message=True - ) + return self.run_command(f"grep {search_term} {location}", suppress_message=True) @staticmethod def date():