Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Asthestarsfalll committed Nov 25, 2024
1 parent 7af4c94 commit 1b766d8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ jobs:
run: poetry install --with dev

- name: Mypy Check
run: |
poetry run mypy --install-types
poetry run mypy excore/
run: poetry run mypy excore/ --install-types
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
run: |
cd ./tests
export EXCORE_DEBUG=1
poetry run excore clear-all-cache
poetry run python init.py
- name: Test with pytest
Expand Down
1 change: 0 additions & 1 deletion excore/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def dump(self, path: str) -> None:


workspace = _WorkspaceConfig()

LOGO = r"""
▓█████ ▒██ ██▒ ▄████▄ ▒█████ ██▀███ ▓█████
▓█ ▀ ▒▒ █ █ ▒░▒██▀ ▀█ ▒██▒ ██▒▓██ ▒ ██▒▓█ ▀
Expand Down
2 changes: 1 addition & 1 deletion excore/cli/_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def clear_all_cache() -> None:
Remove the whole cache folder.
"""
if not os.path.exists(workspace.cache_base_dir):
logger.warning("Cache dir {} does not exist", cache_dir)
logger.warning("Cache dir {} does not exist", workspace.cache_base_dir)
return
print(_create_table("Cache Names", os.listdir(workspace.cache_base_dir)))
if not typer.confirm("Are you sure you want to clear all cache?"):
Expand Down
4 changes: 2 additions & 2 deletions tests/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

import toml

import excore

predefined_inputs = {
"name": "tests",
"src": "source_code",
Expand Down Expand Up @@ -44,6 +42,8 @@ def init():
toml.dump(cfg, f)
excute("excore update")
excute("excore auto-register")
import excore

assert os.path.exists(os.path.join(excore.workspace.cache_base_dir, "tests"))


Expand Down

0 comments on commit 1b766d8

Please sign in to comment.