From 8b617cc7f6a0ecd57e350dafe1a27fe968ec3bda Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Mon, 29 May 2023 13:48:07 +0900 Subject: [PATCH] Lint setup.py --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 134e4be66..7f51f495f 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,9 @@ +"""setup.py for axolotl""" + from setuptools import setup, find_packages install_requires = [] -with open("./requirements.txt", "r") as requirements_file: +with open("./requirements.txt", encoding="utf-8") as requirements_file: # don't include peft yet until we check the int4 # need to manually install peft for now... reqs = [r.strip() for r in requirements_file.readlines() if "peft" not in r]