Skip to content

Commit 82fd449

Browse files
committed
Merge branch 'feature/top-bottom-approach' into devel
2 parents 22ffaa5 + 17cbeab commit 82fd449

File tree

81 files changed

+2263
-2610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2263
-2610
lines changed

.coveragerc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[run]
2+
branch = True
3+
4+
[report]
5+
exclude_lines =
6+
pragma: no cover
7+
8+
raise NotImplementedError
9+
assert
10+
if __name__ == .__main__.:
11+
def __str__
12+
def __repr__
13+

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ Session.vim
6767
.idea/tasks.xml
6868
.idea/*.iws
6969
.mypy_cache/
70-
/venv-*

.idea/ContextShell.iml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/fileColors.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pipfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
coverage = "==4.5.1"
8+
9+
[dev-packages]
10+
11+
[requires]
12+
python_version = "3.7"

Pipfile.lock

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test.sh renamed to all_tests.sh

File renamed without changes.

contextshell/Action.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from abc import ABC, abstractmethod
2+
from contextshell.NodePath import NodePath
3+
from contextshell.TreeRoot import ActionArgsPack
4+
from typing import Dict, Union, Any
5+
6+
7+
class Action(ABC):
8+
def __init__(self, name: NodePath):
9+
assert isinstance(name, NodePath)
10+
assert name.is_relative
11+
self.name: NodePath = name
12+
13+
@abstractmethod
14+
def invoke(self, target: NodePath, action: NodePath, arguments: ActionArgsPack):
15+
raise NotImplementedError()

contextshell/ActionNode.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)