chore: setup.py formatting

This commit is contained in:
Régis Behmo 2022-01-08 18:57:57 +01:00 committed by Régis Behmo
parent 20604df574
commit 53e7640889
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,9 @@
import io
import os
from setuptools import find_packages, setup
from typing import Dict, List
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
@ -30,6 +31,7 @@ def load_requirements(filename: str) -> List[str]:
) as f:
return [line.strip() for line in f if is_requirement(line)]
def is_requirement(line: str) -> bool:
return not (line.strip() == "" or line.startswith("#"))