Skip to content

Commit

Permalink
cli: add poetry and custom commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesx00 committed Sep 3, 2022
1 parent 6d5d814 commit 3ad5308
Show file tree
Hide file tree
Showing 6 changed files with 949 additions and 0 deletions.
Empty file added cli/__init__.py
Empty file.
11 changes: 11 additions & 0 deletions cli/dependencies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pip


def install_compatible_omise():
pip.main(["uninstall", "--yes", "omise"])
pip.main(
[
"install",
"git+https://github.com/omise/omise-python@bfcf283378a823139b9f19f10e84d42a98c5b1ac",
]
)
6 changes: 6 additions & 0 deletions cli/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import pytest
import sys


def run_test_coverage():
pytest.main(["--cov-report", "term", "--cov", "."])
Loading

0 comments on commit 3ad5308

Please sign in to comment.