Skip to content

Commit

Permalink
Rebase initial transactron changes (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Materzok <[email protected]>
  • Loading branch information
piotro888 and tilk authored Nov 25, 2024
1 parent 972047b commit 4723228
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.python-version

# Verilog files
*.v

# Verilog generation debug files
*.v.json

# Waveform dumps
*.vcd
*.gtkw

# Tests outputs
test/__traces__
test/__profiles__/*.json
pytestdebug.log
.hypothesis

# Documentation build
build/
docs/*.rst

# Distribution / packaging
*.egg-info/
4 changes: 0 additions & 4 deletions transactron/utils/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ def get_optional_dependency(self, key: DependencyKey[Any, U]) -> Optional[U]:

return val

def dependency_provided(self, key: DependencyKey) -> bool:
"""Checks if any dependency for a key is provided (ignores `empty_valid` parameter)"""
return key in self.dependencies


class DependencyContext:
stack: list[DependencyManager] = []
Expand Down

0 comments on commit 4723228

Please sign in to comment.