From 19c7e97db9a14de64171784d749360d490e32e69 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 5 Oct 2026 15:02:11 +0500 Subject: project.format: refactoring --- project/utils.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'project/utils.py') diff --git a/project/utils.py b/project/utils.py index 57f5d85..87ac8d1 100644 --- a/project/utils.py +++ b/project/utils.py @@ -17,6 +17,11 @@ import time import project.os +def read_file(path): + with open(path, encoding="utf-8") as fd: + return fd.read() + + def normalize_path(s): return os.path.abspath(os.path.normpath(s)) -- cgit v1.3