mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-17 21:53:57 +02:00
Re-enable ruff in examples
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# ruff: noqa: T201, D103
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# ruff: noqa: T201, D103, S101
|
||||
import json
|
||||
import logging
|
||||
from pathlib import Path
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# ruff: noqa: T201, D103, S101
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# ruff: noqa: T201, D103, S101
|
||||
"""
|
||||
Example showing how to retrieve the primary key of your own AirTag, or any other FindMy-accessory.
|
||||
|
||||
@@ -39,7 +38,7 @@ def main() -> None:
|
||||
lookup_time = paired_at.replace(
|
||||
minute=paired_at.minute // 15 * 15,
|
||||
second=0,
|
||||
microsecond=0
|
||||
microsecond=0,
|
||||
) + timedelta(minutes=15)
|
||||
|
||||
while lookup_time < now:
|
||||
|
||||
Reference in New Issue
Block a user