Skip to content

Commit 34d4768

Browse files
committed
style: sort imports in the jCal tests
Ruff (I001) wants a blank line between the stdlib and the first-party imports in the new list --json tests, which broke CI on #83 Prompt: The CI fails Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 3ed3991 commit 34d4768

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/test_lib.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ def test_list_json():
664664
like `--ics` does as iCalendar.
665665
https://github.com/pycalendar/plann/issues/82"""
666666
import json
667+
667668
from plann.lib import _list
668669
objs = [_todo_with_rels('a', []), _todo_with_rels('b', [])]
669670
with patch('plann.lib.click.echo') as echo:
@@ -677,6 +678,7 @@ def test_list_json():
677678
def test_list_json_empty():
678679
"""An empty selection still gives valid json."""
679680
import json
681+
680682
from plann.lib import _list
681683
with patch('plann.lib.click.echo') as echo:
682684
_list([], as_json=True)
@@ -714,6 +716,7 @@ def test_list_ics_does_not_touch_the_objects():
714716

715717
def test_list_json_one_vtimezone_per_tzid():
716718
import json
719+
717720
from plann.lib import _list
718721
with patch('plann.lib.click.echo') as echo:
719722
_list([_event_in_oslo('a'), _event_in_oslo('b')], as_json=True)

0 commit comments

Comments
 (0)