Skip to content

Commit 4cd1961

Browse files
committed
Update black and run it
1 parent 8314d1c commit 4cd1961

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
repos:
66
- repo: https://github.com/python/black
7-
rev: 21.6b0
7+
rev: 22.3.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/fsfe/reuse-tool

adafruit_shell.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ def grep(self, search_term, location):
257257
Run the grep command and return the result
258258
"""
259259
location = self.path(location)
260-
return self.run_command(
261-
f"grep {search_term} {location}", suppress_message=True
262-
)
260+
return self.run_command(f"grep {search_term} {location}", suppress_message=True)
263261

264262
@staticmethod
265263
def date():

0 commit comments

Comments
 (0)