Loading .gitlab-ci.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line build-package: stage: deploy image: python:3.9 script: - cat $PYPIRC > /tmp/.pypirc - pip install twine - python setup.py sdist - twine upload --skip-existing dist/* --config-file /tmp/.pypirc only: - tags .pre-commit-config.yaml 0 → 100644 +6 −0 Original line number Diff line number Diff line repos: - repo: https://github.com/psf/black rev: 22.3.0 hooks: - id: black language_version: python3.9 No newline at end of file Makefile +2 −0 Original line number Diff line number Diff line venv: python3 -m venv venv && . ./venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt && pre-commit install install: python setup.py install clean: Loading circe/__init__.py +2 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ import sys import uuid from time import sleep version = "0.0.29" try: from uuid import uuid4 import sanic.request Loading circe/__main__.py +0 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ from circe import ( list_transformations, run, ) import sys import os def run_cli(): Loading Loading
.gitlab-ci.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line build-package: stage: deploy image: python:3.9 script: - cat $PYPIRC > /tmp/.pypirc - pip install twine - python setup.py sdist - twine upload --skip-existing dist/* --config-file /tmp/.pypirc only: - tags
.pre-commit-config.yaml 0 → 100644 +6 −0 Original line number Diff line number Diff line repos: - repo: https://github.com/psf/black rev: 22.3.0 hooks: - id: black language_version: python3.9 No newline at end of file
Makefile +2 −0 Original line number Diff line number Diff line venv: python3 -m venv venv && . ./venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt && pre-commit install install: python setup.py install clean: Loading
circe/__init__.py +2 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ import sys import uuid from time import sleep version = "0.0.29" try: from uuid import uuid4 import sanic.request Loading
circe/__main__.py +0 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ from circe import ( list_transformations, run, ) import sys import os def run_cli(): Loading