mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-05 23:20:40 +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 io
|
||||||
import os
|
import os
|
||||||
from setuptools import find_packages, setup
|
|
||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
|
|
||||||
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
HERE = os.path.abspath(os.path.dirname(__file__))
|
HERE = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ def load_requirements(filename: str) -> List[str]:
|
|||||||
) as f:
|
) as f:
|
||||||
return [line.strip() for line in f if is_requirement(line)]
|
return [line.strip() for line in f if is_requirement(line)]
|
||||||
|
|
||||||
|
|
||||||
def is_requirement(line: str) -> bool:
|
def is_requirement(line: str) -> bool:
|
||||||
return not (line.strip() == "" or line.startswith("#"))
|
return not (line.strip() == "" or line.startswith("#"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user