Skip to content

Commit 3c93f02

Browse files
committed
Use Python 3.10, nrfutil > 6 and black
1 parent 1be78c2 commit 3c93f02

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up python
4040
uses: actions/setup-python@v4
4141
with:
42-
python-version: "3.x"
42+
python-version: "3.10"
4343
cache: 'pip'
4444
cache-dependency-path: |
4545
requirements-ci.txt

.github/workflows/ports_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
pip install wheel
6666
# requirements_dev.txt doesn't install on windows. (with msys2 python)
6767
# instead, pick a subset for what we want to do
68-
pip install cascadetoml jinja2 typer click intelhex nrfutil
68+
pip install cascadetoml jinja2 typer click intelhex "nrfutil > 6.0.0"
6969
# check that installed packages work....?
7070
which python; python --version; python -c "import cascadetoml"
7171
which python3; python3 --version; python3 -c "import cascadetoml"

shared-bindings/sharpdisplay/SharpMemoryFramebuffer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
//| :param int width: The width of the display in pixels
5858
//| :param int height: The height of the display in pixels
5959
//| :param int baudrate: The baudrate to communicate with the screen at
60-
//| :param bool jdi_display: When True, work with an 8-color JDI display. Otherwise, a monochrome Sharp display."""
60+
//| :param bool jdi_display: When True, work with an 8-color JDI display. Otherwise, a monochrome Sharp display.
61+
//| """
6162
//| ...
6263
STATIC mp_obj_t sharpdisplay_framebuffer_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
6364
enum { ARG_spi_bus, ARG_chip_select, ARG_width, ARG_height, ARG_baudrate, ARG_jdi_display, NUM_ARGS };

0 commit comments

Comments
 (0)