Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.11.2" (defproject python/lein-template "1.12.0" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" Loading src/leiningen/new/python/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ PYTHON_MODULES := $(PKGNAME) PYTHONPATH := . VENV := .venv WHEELHOUSE := wheelhouse TZ := CST-8 PYTEST := env PYTHONPATH=$(PYTHONPATH) PYTEST=1 $(VENV)/bin/py.test PYLINT := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pylint --disable=I0011 --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" PEP8 := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pycodestyle --repeat --ignore=E202,E501,E402,W503,W504,E122,E129 Loading Loading @@ -124,6 +125,7 @@ ci-build: -v "$(host_venvs_dir)/$(venv_hash_dir)":/app/$(VENV) \ -v "$(host_wheelhouses_dir)/$(wheelhouse_hash_dir)":/app/$(WHEELHOUSE) \ -u $(shell id -u):$(shell id -g) \ -e TZ=$(TZ) \ $(BUILD_DOCKER_IMAGE) \ make test deb -C /app docker build -t $(DOCKER_IMAGE_PREFIX)/$(PNAME):$(VERSION) . Loading src/leiningen/new/python/app.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ spec: value: "0.0.0.0" - name: PORT value: "8082" - name: TZ value: CST-8 ports: - containerPort: 8082 # livenessProbe: Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.11.2" (defproject python/lein-template "1.12.0" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" Loading
src/leiningen/new/python/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ PYTHON_MODULES := $(PKGNAME) PYTHONPATH := . VENV := .venv WHEELHOUSE := wheelhouse TZ := CST-8 PYTEST := env PYTHONPATH=$(PYTHONPATH) PYTEST=1 $(VENV)/bin/py.test PYLINT := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pylint --disable=I0011 --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" PEP8 := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/pycodestyle --repeat --ignore=E202,E501,E402,W503,W504,E122,E129 Loading Loading @@ -124,6 +125,7 @@ ci-build: -v "$(host_venvs_dir)/$(venv_hash_dir)":/app/$(VENV) \ -v "$(host_wheelhouses_dir)/$(wheelhouse_hash_dir)":/app/$(WHEELHOUSE) \ -u $(shell id -u):$(shell id -g) \ -e TZ=$(TZ) \ $(BUILD_DOCKER_IMAGE) \ make test deb -C /app docker build -t $(DOCKER_IMAGE_PREFIX)/$(PNAME):$(VERSION) . Loading
src/leiningen/new/python/app.yaml +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ spec: value: "0.0.0.0" - name: PORT value: "8082" - name: TZ value: CST-8 ports: - containerPort: 8082 # livenessProbe: Loading