MusicalNinjaDad

Results 17 issues of MusicalNinjaDad

**Background:** I have just set up ruff for the first time, and loved it, so fast and so complete! I fixed all the errors, added the github action to my...

rule
help wanted

Resolves #1109 The current .gitignore, setup.py and test.yml are focussed on a specific development set up. These changes support a few additional development setup preferences without breaking anything. (Do no...

Regenerating the class diagrams for the docs leads to blank diagrams (dot, png & svg files are affected). This occurs via both `make doc` and `make preview` The issue appears...

Operating system: Bookworm, Bullseye Python version: 3.9, 3.11 & 3.12 Pi model: N/A GPIO Zero version: 2.0.1 Pin factory used: N/A Regenerating the class diagrams for the docs leads to...

## Background `utcnow()` is deprecated in python3.12 to reduce the danger of naive utc times being incorrectly interpreted as local times. [see the warning in the docs](https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow) The current implementation...

`internal_devices.TimeOfDay` offers a non-timezone-aware interface. `datetime.utcnow()` which is used in `value` is deprecated from Python3.12 onwards with a rationale to improving timezone awareness and handling in the wider codebase. Doing...

Operating system: Windows11 / WLS2 (Ubuntu 20.04) Python version: 3.12 Pi model: N/A GPIO Zero version: N/A Pin factory used: MockFactory As a first time contributor I ran into minor...

Move pytest fixtures defined in tests/conftest.py to a module in the main source. This makes them available for others to use via from gpiozero.testing import ... @lurch: This is the...

Building on #4080 this further improves the detail and structure of contributing.md regarding testing, linting, CI etc. by separately detailling what is run in PR CI and useful command to...

## Overview Add `#[pyo3test]` to support easier testing of code wrapped by `#[pyfunction]`. See section 2.4 of the Guide: "Testing your code" for more details. ### Concept The idea is...