| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| tests/bflbpinctrl/ | 29-Dec-2025 | - | 593 | 345 | ||
| .coveragerc | D | 29-Dec-2025 | 105 | 9 | 7 | |
| .flake8 | D | 29-Dec-2025 | 31 | 3 | 2 | |
| README.md | D | 29-Dec-2025 | 845 | 52 | 33 | |
| bflbpinctrl.py | D | 29-Dec-2025 | 8 KiB | 285 | 210 | |
| requirements-dev.txt | D | 29-Dec-2025 | 13 | 3 | 2 | |
| requirements-test.txt | D | 29-Dec-2025 | 17 | 2 | 2 | |
| requirements.txt | D | 29-Dec-2025 | 41 | 6 | 5 |
README.md
1# Bouffalo Lab bflb scripts 2 3This folder contains `hal_bouffalolab` scripts. 4 5## Dependencies 6 7Scripts require Python 3.7+ and the Python dependencies listed in 8`requirements.txt`. They can be installed by running: 9 10``` 11pip install -r scripts/requirements.txt 12``` 13 14## How to generate 15 16Just execute on the root of hal_bouffalolab folder: 17 18``` 19python3 scripts/bflbpinctrl.py 20``` 21 22## Lint 23 24Scripts should be formatted using `black` and linted using `flake8`. 25 26Such development tools can be installed using: 27 28``` 29pip install -r scripts/requirements-dev.txt 30``` 31 32To run the lint: 33 34``` 35flake8 --config scripts/.flake8 scripts 36``` 37 38## Tests 39 40Before running tests make sure to have testing dependencies installed. They 41can be installed by running: 42 43``` 44pip install -r scripts/requirements-test.txt 45``` 46 47Tests can be executed by running: 48 49``` 50pytest 51``` 52