Skip to content

Commit ebebbda

Browse files
committed
Fix some lint issues [skip ci]
1 parent 0d6c5f0 commit ebebbda

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/mock_vws/_mock_web_query_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _accepted_date_formats() -> Set[str]:
292292
}
293293

294294
known_accepted_formats = known_accepted_formats.union(
295-
set(date_format + ' GMT' for date_format in known_accepted_formats)
295+
set(date_format + ' GMT' for date_format in known_accepted_formats),
296296
)
297297

298298
return known_accepted_formats

tests/mock_vws/test_query.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,12 +1620,14 @@ class TestDateFormats:
16201620
> header.
16211621
"""
16221622

1623-
@pytest.mark.parametrize('datetime_format', [
1624-
'%a, %b %d %H:%M:%S %Y',
1625-
'%a %b %d %H:%M:%S %Y',
1626-
'%a, %d %b %Y %H:%M:%S',
1627-
'%a %d %b %Y %H:%M:%S',
1628-
])
1623+
@pytest.mark.parametrize(
1624+
'datetime_format', [
1625+
'%a, %b %d %H:%M:%S %Y',
1626+
'%a %b %d %H:%M:%S %Y',
1627+
'%a, %d %b %Y %H:%M:%S',
1628+
'%a %d %b %Y %H:%M:%S',
1629+
],
1630+
)
16291631
@pytest.mark.parametrize('include_tz', [True, False])
16301632
def test_date_formats(
16311633
self,

0 commit comments

Comments
 (0)