Skip to content

Do some house cleaning tasks - #285

Open
Guzz-T wants to merge 13 commits into
Bouni:mainfrom
Guzz-T:issue/284/cleanup
Open

Guzz-T wants to merge 13 commits into
Bouni:mainfrom
Guzz-T:issue/284/cleanup

Conversation

@Guzz-T

@Guzz-T Guzz-T commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

A collection of smaller tasks aimed at

maintaining the highest possible quality of the source code
simplifying workflows
...

Copy of Guzz-T#62

Due to the long integration times for pull requests in this repository, I will refrain from submitting small pull requests.
See https://github.com/Guzz-T/python-luxtronik/discussions.

For review purposes, the (small) pull requests can be viewed on my fork.

@Guzz-T
Guzz-T marked this pull request as draft November 16, 2026 22:50
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __main__.py25250%3–66
   datatypes.py453199%147
   discover.py58198%63
luxtronik/cfi
   interface.py175398%167–168, 256
luxtronik/definitions
   __init__.py208199%216
luxtronik/scripts
   __init__.py35586%7–16, 51
   discover_shi.py60600%8–98
   dump_cfi.py14657%18–25, 29
   dump_shi.py15660%21–28, 32
   performance_shi.py63630%7–89
   update_screen.py1058222%6, 20–41, 46–48, 51–61, 64, 70–75, 78, 81–85, 88–92, 95–97, 100–103, 106–111, 115–116, 119–126, 129–136
   watch_cfi.py321650%36–47, 50–56, 60
   watch_shi.py331652%38–49, 52–58, 62
luxtronik/shi
   interface.py337399%438, 519, 527
TOTAL243528888% 
Tests Skipped Failures Errors Time
381 0 💤 0 ❌ 0 🔥 14.177s ⏱️

@Guzz-T
Guzz-T marked this pull request as ready for review November 16, 2026 23:12
@Bouni

Bouni commented Nov 18, 2026

Copy link
Copy Markdown
Owner

@Guzz-T Would you mind rebaseing his, I want to se if my just merged tooling update fox the broken CI test

Currently no fields being displayed anymore
`on` is interpreted as `true` and triggers an error in yamllint. Use quotation marks to bypass the unsightly `check-disable`.
…e pre-commit hook

The script:
- creates a .venv environment if one does not already exist
- installs all development dependencies within the .venv environment
- configures the pre-commit hook so that the cache is stored in the .venv folder
- sets up the pre-commit hook (including for external Git clients such as TortoiseGit)
- Enforce LF for source code, shell scripts, and config files
- Retain CRLF for native Windows scripts (.bat, .cmd, .ps1)
- Mark binary files to prevent accidental Git modifications
…nings

Suppresses:
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:

License :: OSI Approved :: MIT License

See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
@Guzz-T

Guzz-T commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

I've rebased this branch onto the main branch

@Guzz-T

Guzz-T commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

ruff format (.pre-commit-config.yaml#L10) still makes a lot of formatting changes

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants