From 6aa6986b6ec85af86f1f68575521a276d8fddb78 Mon Sep 17 00:00:00 2001 From: Christopher Pickering Date: Wed, 18 May 2022 10:35:41 -0500 Subject: [PATCH] style(lint): fixed lint --- src/djlint/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/djlint/__init__.py b/src/djlint/__init__.py index 4a5abcc..65a6050 100644 --- a/src/djlint/__init__.py +++ b/src/djlint/__init__.py @@ -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()