Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#410)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] committed May 25, 2021
1 parent f8c14c3 commit ffb74aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- repo: https://github.com/asottile/pyupgrade
rev: v2.16.0
rev: v2.18.2
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand Down
2 changes: 1 addition & 1 deletion respy/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def load_objects(topic, complex_, options):

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

0 comments on commit ffb74aa

Please sign in to comment.