Files
nixos-core/nixos
kiskaadee a781e2c428 fix(monitor): resolve ruff lint warnings in dynu IP monitor script
- RUF059: rename unused octets c/d to _c/_d
- SIM103: collapse link-local check to `return not (a == 169 and b == 254)`
- BLE001: replace bare Exception catches with specific types
  - get_public_ip: urllib.error.URLError, OSError, ValueError
  - get_last_recorded_ip: OSError
  - record_ip: OSError
  - trigger_ddclient: OSError, subprocess.SubprocessError
- DTZ003: replace datetime.utcnow() with datetime.now(tz=timezone.utc)
- PLW1510: add explicit check=False to subprocess.run
2026-09-11 17:41:05 -05:00
..