Skip to content

Commit 9a1eed6

Browse files
authored
Bump flake8 from 7.2.0 to 7.3.0 (#126)
1 parent af6f1c3 commit 9a1eed6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ repos:
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/PyCQA/flake8
27-
rev: 7.2.0
27+
rev: 7.3.0
2828
hooks:
2929
- id: flake8

tests/test_thirdparty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_pandas():
190190
)
191191

192192
# Pandas 1.5 changed the API for to_csv()
193-
if tuple(int(v) for v in __version__.split(".")) < (1, 5):
193+
if tuple(int(v) for v in __version__.split(".")[:2]) < (1, 5):
194194
kwargs = dict(line_terminator="\n")
195195
else:
196196
kwargs = dict(lineterminator="\n")

0 commit comments

Comments
 (0)