{"language": "Python", "id": 110, "repo_owner": "mikf", "repo_name": "gallery-dl", "head_branch": "master", "workflow_name": "tests", "workflow_filename": "tests.yml", "workflow_path": ".github/workflows/tests.yml", "contributor": "bun-dev", "sha_fail": "3fcfe2925441e86f02d700a3bd080ee7d4c85153", "sha_success": "c51a3c67884331c409a05779bcec57ecd402cd18", "workflow": "name: tests\n\non:\n push:\n branches:\n - master\n pull_request:\n branches:\n - master\n\njobs:\n build:\n\n runs-on: ubuntu-20.04\n strategy:\n fail-fast: false\n matrix:\n python-version: [\"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy3.9\"]\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Check file permissions\n run: |\n if [[ \"$(find ./gallery_dl -type f -not -perm 644)\" ]]; then exit 1; fi\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Install dependencies\n run: |\n pip install -r requirements.txt\n pip install flake8 youtube-dl\n\n - name: Install yt-dlp\n run: |\n case \"${{ matrix.python-version }}\" in\n 3.4|3.5)\n # don't install yt-dlp\n ;;\n 3.6|3.7)\n # install from PyPI\n pip install yt-dlp\n ;;\n *)\n # install from master\n pip install https://github.com/yt-dlp/yt-dlp/archive/refs/heads/master.tar.gz\n ;;\n esac\n\n - name: Lint with flake8\n run: |\n case \"${{ matrix.python-version }}\" in\n 3.4|3.5|3.6|3.7)\n flake8 --extend-exclude scripts/export_tests.py .\n ;;\n *)\n flake8 .\n ;;\n esac\n\n - name: Run tests\n run: |\n make test\n\n - name: Test autogeneration of man pages, bash/zsh/fish completion, etc\n run: |\n make\n", "logs": [{"step_name": "build (3.5)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.5\" in\n\u001b[36;1mcase \"3.5\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.5.10/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.5.10/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.5.10/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.5.10/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.5.10/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.5.10/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.6)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.6\" in\n\u001b[36;1mcase \"3.6\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.6.15/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.6.15/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.6.15/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.6.15/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.6.15/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.6.15/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.7)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.7\" in\n\u001b[36;1mcase \"3.7\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.7.17/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.17/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.17/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.8)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.8\" in\n\u001b[36;1mcase \"3.8\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.9)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.9\" in\n\u001b[36;1mcase \"3.9\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.10)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.10\" in\n\u001b[36;1mcase \"3.10\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.11)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.11\" in\n\u001b[36;1mcase \"3.11\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.11.7/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (3.12)/7_Lint with flake8.txt", "log": "##[group]Run case \"3.12\" in\n\u001b[36;1mcase \"3.12\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "build (pypy3.9)/7_Lint with flake8.txt", "log": "##[group]Run case \"pypy3.9\" in\n\u001b[36;1mcase \"pypy3.9\" in\u001b[0m\n\u001b[36;1m 3.4|3.5|3.6|3.7)\u001b[0m\n\u001b[36;1m flake8 --extend-exclude scripts/export_tests.py .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1m *)\u001b[0m\n\u001b[36;1m flake8 .\u001b[0m\n\u001b[36;1m ;;\u001b[0m\n\u001b[36;1mesac\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/PyPy/3.9.18/x64\n Python_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/PyPy/3.9.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/PyPy/3.9.18/x64/bin/lib/pkgconfig\n##[endgroup]\n./gallery_dl/extractor/shimmie2.py:226:52: E126 continuation line over-indented for hanging indent\n./gallery_dl/extractor/shimmie2.py:226:80: E501 line too long (82 > 79 characters)\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/gallery_dl/extractor/shimmie2.py b/gallery_dl/extractor/shimmie2.py\nindex a9ed615b..299b2394 100644\n--- a/gallery_dl/extractor/shimmie2.py\n+++ b/gallery_dl/extractor/shimmie2.py\n@@ -223,7 +223,7 @@ class Shimmie2TagExtractor(Shimmie2Extractor):\n break\n \n tags, dimensions, size, ext = extr(\n- \"title=\\\"\", \"\\\"\").split(\" // \")\n+ \"title=\\\"\", \"\\\"\").split(\" // \")\n width, _, height = dimensions.partition(\"x\")\n md5 = extr(\"/_thumbs/\", \"/\")\n \n", "difficulty": 0, "changed_files": ["gallery_dl/extractor/shimmie2.py"], "commit_link": "https://github.com/mikf/gallery-dl/tree/3fcfe2925441e86f02d700a3bd080ee7d4c85153"}