forked from sifive/pydevicetree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nathaniel Graff <[email protected]>
- Loading branch information
1 parent
7e37b3b
commit 693abe1
Showing
8 changed files
with
679 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
|
||
venv/bin/activate: | ||
python3 -m venv venv | ||
source venv/bin/activate && pip install --upgrade pip | ||
source venv/bin/activate && pip install -r requirements.txt | ||
|
||
.PHONY: virtualenv | ||
virtualenv: venv/bin/activate | ||
source venv/bin/activate && pip install --upgrade pip | ||
source venv/bin/activate && pip install -r requirements.txt | ||
|
||
.PHONY: test-types | ||
test-types: | ||
test-types: venv/bin/activate | ||
source venv/bin/activate && mypy -m unittest | ||
test: test-types | ||
|
||
.PHONY: test-lint | ||
test-lint: venv/bin/activate | ||
source venv/bin/activate && pylint pydevicetree | ||
test: test-lint | ||
|
||
.PHONY: test | ||
test: venv/bin/activate | ||
source venv/bin/activate && python3 -m unittest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from pydevicetree.ast import Devicetree | ||
#!/usr/bin/env python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from pydevicetree.source.parser import printTree, parseTree | ||
from pydevicetree.source.parser import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.