Skip to content

Commit b498b35

Browse files
authored
Merge pull request #317 from akx/pkg-refactor
Labours: Package refactor + type hints + reformat
2 parents b56651f + 136a6ac commit b498b35

25 files changed

+2521
-2018
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo\n\' > /browser && \
2626
chmod +x /browser && \
2727
curl https://bootstrap.pypa.io/get-pip.py | python3 - pip==18.1 && \
2828
pip3 install --no-cache-dir --no-build-isolation cython && \
29-
sed -i 's/parser.add_argument("--backend",/parser.add_argument("--backend", default="Agg",/' /root/src/labours/labours.py && \
29+
sed -i 's/DEFAULT_MATPLOTLIB_BACKEND = None/DEFAULT_MATPLOTLIB_BACKEND = "Agg"/' /root/src/labours/cli.py && \
3030
pip3 install --no-cache-dir /root/src && \
3131
pip3 install --no-cache-dir "tensorflow<2.0" && \
3232
rm -rf /root/src && \

python/labours/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
from labours.labours import * # noqa:F

python/labours/__main__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import sys
22

3-
from labours.labours import main
4-
3+
from labours.cli import main
54

65
if __name__ == "__main__":
76
sys.exit(main())

python/labours/_vendor/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)