Skip to content

Commit bd0fd5a

Browse files
committed
Flake8 fixes
1 parent f41d783 commit bd0fd5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ optional = true
2222

2323
[tool.poetry.group.test.dependencies]
2424
codecov = "^2.1.12"
25-
flake8 = "^5.0.4"
25+
flake8 = "^7.1.2"
2626
coverage = "^6.5.0"
2727
pytest-cov = "^4.0.0"
2828
pytest-mock = "^3.10.0"

tests/test_post_operation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_post_good_query_with_params(self, mocker):
5757
"""Produce code for a simple good query"""
5858

5959
with TemporaryDirectory() as tempdir, \
60-
open(os.path.join(tempdir, "baz.txt"), 'w'),\
60+
open(os.path.join(tempdir, "baz.txt"), 'w'), \
6161
open(os.path.join(tempdir, "foo.txt"), 'w'):
6262

6363
mock_ast_translator = mocker.Mock()
@@ -102,7 +102,7 @@ def test_post_good_query_without_params(self, mocker):
102102
"""Produce code for a simple good query"""
103103

104104
with TemporaryDirectory() as tempdir, \
105-
open(os.path.join(tempdir, "baz.txt"), 'w'),\
105+
open(os.path.join(tempdir, "baz.txt"), 'w'), \
106106
open(os.path.join(tempdir, "foo.txt"), 'w'):
107107

108108
mock_ast_translator = mocker.Mock()

0 commit comments

Comments
 (0)