Skip to content

Commit 7aa1d31

Browse files
fix ruff and tests
1 parent 3667856 commit 7aa1d31

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
python -m pip install --upgrade pip
42+
pip install pytest
4243
pip install -e . -r requirements.txt
4344
4445
- name: Run tests

src/xclient.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
from collections.abc import AsyncIterator
88
from pathlib import Path
99
from typing import Any, Iterable, Literal
10-
11-
FetchMode = Literal["all", "new_only", "with_updates"]
12-
1310
import aiohttp
1411
import uncurl
1512

1613
from tweet import MediaItem, Tweet
1714

15+
FetchMode = Literal["all", "new_only", "with_updates"]
16+
1817
logger = logging.getLogger(__file__)
1918

2019

0 commit comments

Comments
 (0)