Datasets:

Modalities:
Tabular
Text
Formats:
json
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
Dask
File size: 5,312 Bytes
d822266
1
{"head_branch": "py3.12-fstring-extraction", "contributor": "encukou", "sha_fail": "be26d03a477a8c7a3919e2ba00121a0f7954bdb5", "sha_success": "1f06b3616f44bbd87a3c9df274225d431c01ae6e", "language": "Python", "repo_owner": "python-babel", "repo_name": "babel", "workflow_name": "Test", "workflow_filename": "test.yml", "workflow_path": ".github/workflows/test.yml", "workflow": "name: Test\n\non:\n  push:\n    branches:\n      - master\n      - '*-maint'\n  pull_request:\n    branches:\n      - master\n      - '*-maint'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: pre-commit/[email protected]\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-20.04\", \"windows-2022\", \"macos-11\"]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"pypy-3.7\"]\n    env:\n      BABEL_CLDR_NO_DOWNLOAD_PROGRESS: \"1\"\n      BABEL_CLDR_QUIET: \"1\"\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/cache@v3\n      with:\n        path: cldr\n        key: cldr-${{ hashFiles('scripts/*cldr*') }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n        cache-dependency-path: \"**/setup.py\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install 'tox~=4.0' 'tox-gh-actions~=3.0'\n    - name: Run test via Tox\n      run: tox --skip-missing-interpreters\n      env:\n        COVERAGE_XML_PATH: ${{ runner.temp }}\n    - uses: codecov/codecov-action@v3\n      with:\n        directory: ${{ runner.temp }}\n", "logs": "shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\n[INFO]\u001b[m Initializing environment for https://github.com/astral-sh/ruff-pre-commit.\n[INFO]\u001b[m Initializing environment for https://github.com/pre-commit/pre-commit-hooks.\n[INFO]\u001b[m Installing environment for https://github.com/astral-sh/ruff-pre-commit.\n[INFO]\u001b[m Once installed this environment will be reused.\n[INFO]\u001b[m This may take a few minutes...\n[INFO]\u001b[m Installing environment for https://github.com/pre-commit/pre-commit-hooks.\n[INFO]\u001b[m Once installed this environment will be reused.\n[INFO]\u001b[m This may take a few minutes...\nruff.....................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: ruff\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\nFound 1 error (1 fixed, 0 remaining).\n\ncheck for added large files..............................................\u001b[42mPassed\u001b[m\ncheck docstring is first.................................................\u001b[42mPassed\u001b[m\ncheck json...........................................(no files to check)\u001b[46;30mSkipped\u001b[m\ncheck yaml...............................................................\u001b[42mPassed\u001b[m\ndebug statements (python)................................................\u001b[42mPassed\u001b[m\nfix end of files.........................................................\u001b[42mPassed\u001b[m\npython tests naming......................................................\u001b[42mPassed\u001b[m\nfix requirements.txt.....................................................\u001b[42mPassed\u001b[m\ntrim trailing whitespace.................................................\u001b[42mPassed\u001b[m\npre-commit hook(s) made changes.\nIf you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.\nTo run `pre-commit` as part of git workflow, use `pre-commit install`.\nAll changes made by hooks:\n\u001b[1mdiff --git a/babel/messages/extract.py b/babel/messages/extract.py\u001b[m\n\u001b[1mindex 5b67d2b..2f02638 100644\u001b[m\n\u001b[1m--- a/babel/messages/extract.py\u001b[m\n\u001b[1m+++ b/babel/messages/extract.py\u001b[m\n\u001b[36m@@ -21,6 +21,7 @@\u001b[m \u001b[mimport ast\u001b[m\n import io\u001b[m\n import os\u001b[m\n import sys\u001b[m\n\u001b[32m+\u001b[m\u001b[32mimport tokenize\u001b[m\n from collections.abc import (\u001b[m\n     Callable,\u001b[m\n     Collection,\u001b[m\n\u001b[36m@@ -33,7 +34,6 @@\u001b[m \u001b[mfrom os.path import relpath\u001b[m\n from textwrap import dedent\u001b[m\n from tokenize import COMMENT, NAME, OP, STRING, generate_tokens\u001b[m\n from typing import TYPE_CHECKING, Any\u001b[m\n\u001b[31m-import tokenize\u001b[m\n \u001b[m\n from babel.util import parse_encoding, parse_future_flags, pathmatch\u001b[m\n \u001b[m\n##[error]Process completed with exit code 1.\n", "diff": "diff --git a/babel/messages/extract.py b/babel/messages/extract.py\nindex 5b67d2b..2f02638 100644\n--- a/babel/messages/extract.py\n+++ b/babel/messages/extract.py\n@@ -21,6 +21,7 @@ import ast\n import io\n import os\n import sys\n+import tokenize\n from collections.abc import (\n     Callable,\n     Collection,\n@@ -33,7 +34,6 @@ from os.path import relpath\n from textwrap import dedent\n from tokenize import COMMENT, NAME, OP, STRING, generate_tokens\n from typing import TYPE_CHECKING, Any\n-import tokenize\n \n from babel.util import parse_encoding, parse_future_flags, pathmatch\n \n"}