{"language": "Python", "id": 114, "repo_owner": "mikf", "repo_name": "gallery-dl", "head_branch": "steamgriddb", "workflow_name": "tests", "workflow_filename": "tests.yml", "workflow_path": ".github/workflows/tests.yml", "contributor": "the-blank-x", "sha_fail": "2ccb7d3bd3f071c6923ca6eb9baedd196665d769", "sha_success": "100966b122cd90ca139593cf8ff21fd0f777243a", "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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 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/steamgriddb.py:176:80: E501 line too long (80 > 79 characters)\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/gallery_dl/extractor/steamgriddb.py b/gallery_dl/extractor/steamgriddb.py\nindex 516c422b..1f803ffd 100644\n--- a/gallery_dl/extractor/steamgriddb.py\n+++ b/gallery_dl/extractor/steamgriddb.py\n@@ -173,7 +173,8 @@ class SteamgriddbGridsExtractor(SteamgriddbAssetsExtractor):\n example = \"https://www.steamgriddb.com/game/1234/grids\"\n valid_dimensions = (\"460x215\", \"920x430\", \"600x900\", \"342x482\", \"660x930\",\n \"512x512\", \"1024x1024\")\n- valid_styles = (\"alternate\", \"blurred\", \"no_logo\", \"material\", \"white_logo\")\n+ valid_styles = (\"alternate\", \"blurred\", \"no_logo\", \"material\",\n+ \"white_logo\")\n valid_file_types = (\"png\", \"jpeg\", \"jpg\", \"webp\")\n \n \n", "difficulty": 0, "changed_files": ["gallery_dl/extractor/steamgriddb.py"], "commit_link": "https://github.com/mikf/gallery-dl/tree/2ccb7d3bd3f071c6923ca6eb9baedd196665d769"}