From 4cd19619c99331ec28d7c057123d317fc741f062 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 31 May 2022 12:09:52 -0700 Subject: [PATCH] Update black and run it --- .pre-commit-config.yaml | 2 +- adafruit_shell.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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():