From 46864d5d9086cd25e1407e2561831ffd071d0bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20St=C3=A4hli?= Date: Thu, 20 Apr 2023 09:48:13 +0200 Subject: [PATCH] flake8 goodness --- .github/workflows/ci.yml | 8 ++++---- .../management/commands/subcommands/resolve_duplicates.py | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66c6ea7..9a667a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: matrix: python: [3.8, 3.9, "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - name: Install Tox and any other packages @@ -27,9 +27,9 @@ jobs: matrix: python: ["3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - name: Install flake8 diff --git a/filer_addons/filer_utils/management/commands/subcommands/resolve_duplicates.py b/filer_addons/filer_utils/management/commands/subcommands/resolve_duplicates.py index 9f2c263..8050449 100644 --- a/filer_addons/filer_utils/management/commands/subcommands/resolve_duplicates.py +++ b/filer_addons/filer_utils/management/commands/subcommands/resolve_duplicates.py @@ -59,7 +59,9 @@ def resolve_for_class(self, cls): else: # first time, keep this file done[file.sha1] = file.id - self.stdout.write("resolved {} duplicates in {}!".format(count, cls.__name__)) + self.stdout.write( + "resolved {} duplicates in {}!".format(count, cls.__name__) + ) def model_get_all_related_objects(model):