Skip to content

Commit

Permalink
Refactoring due to name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-leitao committed Dec 19, 2022
1 parent 2b080ee commit 71e7e5b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
help:
@echo "\nAvailable commnads:"
@echo ">> init : Initiates python environment" | sed 's/^/ /'
@echo ">> clean : removes all pycaches" | sed 's/^/ /'
@echo ">> commit : commits all changes to git" | sed 's/^/ /'
@echo ">> release : builds and releases package to Pypy" | sed 's/^/ /'
@echo ">> add : adds dependency to project with pip" | sed 's/^/ /'
@echo ">> release : Updates version, builds and releases package to Pypy" | sed 's/^/ /'

init:
@pip install pip-chill
Expand Down Expand Up @@ -62,7 +62,7 @@ release:
$(MAKE) changelog;\
git tag -a $$NEW -m "Release";\
git push origin master --tags;\
gh release create $$NEW -F CHANGELOG.md;\
gh release create $$NEW -F CHANGELOG.md --title "Jet v$$NEW";\
twine upload dist/*;\
rm CHANGELOG.md

Expand Down
2 changes: 1 addition & 1 deletion jet_test/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import inspect

# self imports
from jet.classes import Error, Test
from jet_test.classes import Error, Test


def _wrap_error(test: Test, description: str) -> Error:
Expand Down
6 changes: 3 additions & 3 deletions jet_test/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import importlib.metadata

# self
from jet.runner import Run
from jet.seer import See
from jet.classes import JetConfig, RunConfig, SeeConfig
from jet_test.runner import Run
from jet_test.seer import See
from jet_test.classes import JetConfig, RunConfig, SeeConfig

# dependencies
from rich.console import Console
Expand Down
2 changes: 1 addition & 1 deletion jet_test/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import textwrap

# self
from jet.classes import Error
from jet_test.classes import Error

# dependencies
from rich.panel import Panel
Expand Down
6 changes: 3 additions & 3 deletions jet_test/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
from dataclasses import asdict

# self imports
import jet.ui as ui
import jet.checks as jetcheck
from jet.classes import RunConfig, Module, Test, Error
import jet_test.ui as ui
import jet_test.checks as jetcheck
from jet_test.classes import RunConfig, Module, Test, Error

# dependencies
from rich.text import Text
Expand Down
6 changes: 3 additions & 3 deletions jet_test/seer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import json

# self imports
import jet.ui as ui
from jet.report import (
import jet_test.ui as ui
from jet_test.report import (
report_result,
observation,
captured_output,
function_and_locals_inline,
function_and_locals_parallel,
)
from jet.classes import SeeConfig, JetError, Test, Module, Error
from jet_test.classes import SeeConfig, JetError, Test, Module, Error

# dependencies
from rich.console import Console
Expand Down

0 comments on commit 71e7e5b

Please sign in to comment.