Stefan Agner
f6faa18409
Bump pre-commit ruff to 0.5.7 and reformat ( #5242 )
...
It seems that the codebase is not formatted with the latest ruff
version. This PR reformats the codebase with ruff 0.5.7.
2024-08-13 20:53:56 +02:00
dependabot[bot]
dafc2cfec2
Bump pyupgrade from 2.26.0 to 2.26.0.post1 ( #3131 )
...
* Bump pyupgrade from 2.26.0 to 2.26.0.post1
Bumps [pyupgrade](https://github.com/asottile/pyupgrade ) from 2.26.0 to 2.26.0.post1.
- [Release notes](https://github.com/asottile/pyupgrade/releases )
- [Commits](https://github.com/asottile/pyupgrade/commits )
---
updated-dependencies:
- dependency-name: pyupgrade
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .pre-commit-config.yaml
* Fixes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch >
2021-09-21 18:22:56 +02:00
Pascal Vizeli
04f36e92e1
Return list of possible data disk targets ( #3133 )
...
* Return list of possible data disk targets
* fix path
* fix tests
* Add test
* Fix tests
* Add tests
* Add more tests
* Remove debug
* Address comments
* more clear
2021-09-21 14:51:58 +02:00
Pascal Vizeli
6a0206c1e7
Next generation hardware handling ( #2429 )
...
* Next generation hardware handling
* need daemon for some details
* fix tests
* fix wrong coresys lookup
* test initial import
* test device lookup
* validate if device exists
* Add cgroups rules manager
* mapping udev from host
* Modify validation/options handling
* lookup devices
* add support for host udev mapping
* next
* Add policy support to add-ons
* Depricate hardware trigger call
* next cleanup round
* detect USB linking
* optimize
* readd udev utils for backwards compatibility
* fix tests
* Add more tests
* fix tests
* Make device explicit
* Add filter
* work on tests
* Add migration step
* clean out auto_uart
* Fix all tests
* Expose all device information
* small improvment
* Fix loop over right devices
* Use migration for new device format
* Update rootfs/etc/cont-init.d/udev.sh
Co-authored-by: Franck Nijhof <git@frenck.dev >
* Fix old helper
* Fix API
* add helper for by-id
* fix tests
* Fix serial helper
* Fix hardware API schema
* Hide some virtual devices from tracking
* Apply suggestions from code review
Co-authored-by: Stefan Agner <stefan@agner.ch >
* Update supervisor/addons/validate.py
Co-authored-by: Stefan Agner <stefan@agner.ch >
* Update supervisor/addons/validate.py
Co-authored-by: Stefan Agner <stefan@agner.ch >
* fix lint
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
* fix black
* fix lint
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Stefan Agner <stefan@agner.ch >
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
2021-01-28 15:26:56 +01:00