GitHub Actions commited on
Commit
f6ead22
·
1 Parent(s): d5d0b5e

Fix: Ruff linting issues - SIM/E402/F401 violations

Browse files

- SIM105: Replace try-except-pass with contextlib.suppress (5 fixes)
- SIM102/SIM117: Combine nested if/with statements (4 fixes)
- E402: Reorganize imports to top of files, remove UTC = UTC assignments
- F401: Remove unused Diff and RegistryEvent imports
- Fixed docstring placement in identity/__init__.py

17 files changed +69 -87
Files changed (17)
hearthnet/bus/__init__.py+1-1
hearthnet/emergency/state.py+2-3
hearthnet/events/log.py+2-4
hearthnet/events/snapshot.py+2-4
hearthnet/identity/__init__.py+2-2
hearthnet/identity/manifest.py+1-3
hearthnet/services/chat/service.py+1-3
hearthnet/services/llm/backends/ollama.py+11-12
hearthnet/services/marketplace/post.py+1-3
hearthnet/services/marketplace/service.py+1-3
hearthnet/services/marketplace/views.py+1-7
hearthnet/transport/client.py+12-13
hearthnet/transport/server.py+1-3
hearthnet/types.py+2-2
hearthnet/ui/__pycache__/onboarding.cpython-313.pyc
Binary file (11.1 kB). View file
hearthnet/ui/app.py+20-11
hearthnet/ui/onboarding.py+9-13