Update black and run it
This commit is contained in:
parent
8314d1ca16
commit
4cd19619c9
2 changed files with 2 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/python/black
|
- repo: https://github.com/python/black
|
||||||
rev: 21.6b0
|
rev: 22.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/fsfe/reuse-tool
|
- repo: https://github.com/fsfe/reuse-tool
|
||||||
|
|
|
||||||
|
|
@ -257,9 +257,7 @@ class Shell:
|
||||||
Run the grep command and return the result
|
Run the grep command and return the result
|
||||||
"""
|
"""
|
||||||
location = self.path(location)
|
location = self.path(location)
|
||||||
return self.run_command(
|
return self.run_command(f"grep {search_term} {location}", suppress_message=True)
|
||||||
f"grep {search_term} {location}", suppress_message=True
|
|
||||||
)
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def date():
|
def date():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue