Skip to content

Commit ffb74aa

Browse files
[pre-commit.ci] pre-commit autoupdate (#410)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.16.0 → v2.18.2](asottile/pyupgrade@v2.16.0...v2.18.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f8c14c3 commit ffb74aa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: debug-statements
1111
- id: end-of-file-fixer
1212
- repo: https://github.com/asottile/pyupgrade
13-
rev: v2.16.0
13+
rev: v2.18.2
1414
hooks:
1515
- id: pyupgrade
1616
args: [--py36-plus]

respy/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ def load_objects(topic, complex_, options):
686686

687687
def _create_file_name_from_complex_index(topic, complex_):
688688
"""Create a file name from a complex index."""
689-
choice = "".join([str(int(x)) for x in complex_[1]])
689+
choice = "".join(str(int(x)) for x in complex_[1])
690690
if len(complex_) == 3:
691691
file_name = f"{topic}_{complex_[0]}_{choice}_{complex_[2]}.parquet"
692692
elif len(complex_) == 2:

0 commit comments

Comments
 (0)