• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

tests/bflbpinctrl/29-Dec-2025-593345

.coveragercD29-Dec-2025105 97

.flake8D29-Dec-202531 32

README.mdD29-Dec-2025845 5233

bflbpinctrl.pyD29-Dec-20258 KiB285210

requirements-dev.txtD29-Dec-202513 32

requirements-test.txtD29-Dec-202517 22

requirements.txtD29-Dec-202541 65

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