-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
167 additions
and
210 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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
ignore = E203,E266,E302,E501,W503,E731 |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PACKAGE_NAME = caravel_cocotb | ||
|
||
.PHONY: clean test lint dist upload release | ||
|
||
clean: | ||
rm -rf dist build *.egg-info | ||
rm -rf caravel mgmt_core pdk_root user_project_root | ||
|
||
test: | ||
pip install . | ||
python3 caravel_cocotb/CI/main.py | ||
|
||
lint: | ||
flake8 | ||
|
||
dist: clean | ||
python3 setup.py sdist bdist_wheel | ||
|
||
upload: dist | ||
twine upload dist/* | ||
|
||
release: lint test dist upload | ||
|
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
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
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
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,7 +1,6 @@ | ||
from caravel_cocotb.interfaces.caravel import Caravel_env | ||
from caravel_cocotb.interfaces.SPI import SPI | ||
from caravel_cocotb.interfaces.UART import UART | ||
from caravel_cocotb.interfaces.common_functions.test_functions import test_configure | ||
from caravel_cocotb.interfaces.common_functions.test_functions import report_test | ||
from caravel_cocotb.interfaces.common import GPIO_MODE | ||
|
||
from caravel_cocotb.interfaces.caravel import Caravel_env # noqa: F401 | ||
from caravel_cocotb.interfaces.SPI import SPI # noqa: F401 | ||
from caravel_cocotb.interfaces.UART import UART # noqa: F401 | ||
from caravel_cocotb.interfaces.common_functions.test_functions import test_configure # noqa: F401 | ||
from caravel_cocotb.interfaces.common_functions.test_functions import report_test # noqa: F401 | ||
from caravel_cocotb.interfaces.common import GPIO_MODE # noqa: F401 |
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
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.