mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
chore: setup.py formatting
This commit is contained in:
parent
20604df574
commit
53e7640889
4
setup.py
4
setup.py
@ -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("#"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user