Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
tests/ | 03-Aug-2024 | - | 557 | 383 | ||
.coveragerc | D | 03-Aug-2024 | 105 | 9 | 7 | |
.flake8 | D | 03-Aug-2024 | 30 | 3 | 2 | |
README.md | D | 03-Aug-2024 | 658 | 38 | 24 | |
gd32headers.py | D | 03-Aug-2024 | 2.4 KiB | 93 | 68 | |
gd32pinctrl.py | D | 03-Aug-2024 | 9 KiB | 324 | 238 | |
requirements-dev.txt | D | 03-Aug-2024 | 13 | 3 | 2 | |
requirements-test.txt | D | 03-Aug-2024 | 17 | 2 | 2 | |
requirements.txt | D | 03-Aug-2024 | 6 | 1 | 1 |
README.md
1# hal_gigadevice scripts 2 3This folder contains `hal_gigadevice` scripts. 4 5# Dependencies 6 7Scripts require Python 3.6+ 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# Lint 15 16Scripts should be formatted using `black` and linted using `flake8`. 17 18Such development tools can be installed using: 19 20``` 21pip install -r scripts/requirements-dev.txt 22``` 23 24# Tests 25 26Before running tests make sure to have testing dependencies installed. They 27can be installed by running: 28 29``` 30pip install -r scripts/requirements-test.txt 31``` 32 33Tests can be executed by running: 34 35``` 36pytest 37``` 38