style(lint): fixed lint

This commit is contained in:
Christopher Pickering 2022-05-18 10:35:41 -05:00
parent 46395e28bc
commit 6aa6986b6e
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84

View file

@ -228,8 +228,7 @@ def main(
if temp_file and (config.reformat or config.check):
# if using stdin, only give back formatted code.
echo(Path(temp_file.name).read_text(encoding="utf8").rstrip().encode('utf8'))
echo(Path(temp_file.name).read_text(encoding="utf8").rstrip().encode("utf8"))
if temp_file:
temp_file.close()