Skip to content

Commit 96ae7bf

Browse files
committed
lint
1 parent ab9cb73 commit 96ae7bf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

data_wizard/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def colname(i):
5252
q, r = divmod(i, 26)
5353
return colname(q - 1) + colname(r)
5454
else:
55-
return chr(ord('A') + i)
55+
return chr(ord("A") + i)
5656

5757

5858
@wizard_task(label="Processing Data", url_path="auto", use_async=True)

data_wizard/test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class WizardTestCase(APITransactionTestCase):
2121
@property
2222
def reset_sequences(self):
2323
from . import backend
24-
if backend and getattr(backend, 'test_reset_sequences', False):
24+
25+
if backend and getattr(backend, "test_reset_sequences", False):
2526
return True
2627
return False
2728

@@ -312,7 +313,7 @@ def make_str(record):
312313
)
313314
elif "ValidationError" in text:
314315
# Django 3.0+
315-
text = text.replace(u"\u201c", '"').replace(u"\u201d", '"')
316+
text = text.replace("\u201c", '"').replace("\u201d", '"')
316317
return text
317318

318319
records = [make_str(record) for record in run.record_set.all()]

0 commit comments

Comments
 (0)