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
Mike Degatano
7fd6dce55f
Migrate to Ruff for lint and format ( #4852 )
...
* Migrate to Ruff for lint and format
* Fix pylint issues
* DBus property sets into normal awaitable methods
* Fix tests relying on separate tasks in connect
* Fixes from feedback
2024-02-05 11:37:39 -05:00
Mike Degatano
a6caccd845
Use session dbus mocks for all tests ( #4198 )
...
* Use session dbus mocks for all tests
* func instead of fn for pylint
2023-03-21 07:30:31 +01:00
Mike Degatano
2a625defc0
Use session dbus for os agent tests ( #4180 )
2023-03-14 08:32:25 +01:00
Mike Degatano
672b220f69
Add boards APIs ( #3984 )
...
* Add boards APIs
* Move boards to agent
2022-11-04 08:22:24 +01:00
Mike Degatano
99bc201688
Listen for dbus property changes ( #3872 )
...
* Listen for dbus property changes
* Avoid remaking dbus proxy objects
* proper snake case for pylint
* some cleanup and more tests
2022-09-17 09:55:41 +02:00
Mike Degatano
b71c6c60da
Share MessageBus across dbus objects ( #3860 )
...
* Share MessageBus across dbus objects
* Fix connect calls in tests
2022-09-12 20:10:12 +02:00
Mike Degatano
4f272ad4fd
Dbus refactor and tests ( #3854 )
...
* Dbus refactor and tests
* Link to timedate introspection
2022-09-12 11:59:56 -04:00
Pascal Vizeli
2b6829a786
OS-Agent support ( #2811 )
...
* OS-Agent support
* add agent to host feature
* Add support for os-agent on devcontainer
* Rename core
* fix tests
* add setter
* add cgroup / apparmor
* all interfaces added
* fix import
* Add tests
* More tests
* Finish tests
* reformating xml files
* fix doc string
* address comments
* change return value
* fix tests
* Update supervisor/dbus/agent/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
* Update scripts/supervisor.sh
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
2021-06-30 11:55:53 +02:00