Skip to content

build(deps-dev): bump pre-commit from 4.2.0 to 4.3.0 in /backend

779176c
Select commit
Loading
Failed to load commit list.
Closed

build(deps-dev): bump pre-commit from 4.2.0 to 4.3.0 in /backend #2747

build(deps-dev): bump pre-commit from 4.2.0 to 4.3.0 in /backend
779176c
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Code Coverage checks: linting succeeded Aug 11, 2025 in 4m 12s

FirefoxCI (pull_request)

Check code style with pre-commit hooks

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-08-11T19:47:16.989Z
Resolved: 2025-08-11T19:48:44.908Z
Task Execution Time: 1 minute, 27 seconds, 919 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log


[taskcluster 2025-08-11T19:47:17.024Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2025-08-11T19:47:17.024Z]   {
[taskcluster 2025-08-11T19:47:17.024Z]     "config": {
[taskcluster 2025-08-11T19:47:17.024Z]       "deploymentId": ""
[taskcluster 2025-08-11T19:47:17.024Z]     },
[taskcluster 2025-08-11T19:47:17.024Z]     "generic-worker": {
[taskcluster 2025-08-11T19:47:17.024Z]       "engine": "multiuser",
[taskcluster 2025-08-11T19:47:17.024Z]       "go-arch": "amd64",
[taskcluster 2025-08-11T19:47:17.024Z]       "go-os": "linux",
[taskcluster 2025-08-11T19:47:17.024Z]       "go-version": "go1.22.2",
[taskcluster 2025-08-11T19:47:17.024Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2025-08-11T19:47:17.024Z]       "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-08-11T19:47:17.024Z]       "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-08-11T19:47:17.024Z]       "version": "64.3.0"
[taskcluster 2025-08-11T19:47:17.024Z]     },
[taskcluster 2025-08-11T19:47:17.024Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2025-08-11T19:47:17.024Z]     "instance-id": "1838194427482863296",
[taskcluster 2025-08-11T19:47:17.024Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2025-08-11T19:47:17.024Z]     "local-ipv4": "10.128.0.38",
[taskcluster 2025-08-11T19:47:17.024Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2025-08-11T19:47:17.024Z]     "public-hostname": "code-analysis-1-linux-gw-gcp-eo86g7rxq2czkld1hvleig.c.fxci-production-level1-workers.internal",
[taskcluster 2025-08-11T19:47:17.024Z]     "public-ipv4": "34.57.20.14",
[taskcluster 2025-08-11T19:47:17.024Z]     "region": "us-central1",
[taskcluster 2025-08-11T19:47:17.024Z]     "zone": "us-central1-c"
[taskcluster 2025-08-11T19:47:17.024Z]   }
[taskcluster 2025-08-11T19:47:17.024Z] Task ID: DebK3nqqQlS-n4CP_BJLYg
[taskcluster 2025-08-11T19:47:17.024Z] === Task Starting ===
[taskcluster:warn 2025-08-11T19:47:17.028Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2025-08-11T19:47:17.028Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2025-08-11T19:47:17.028Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2025-08-11T19:47:17.028Z]     https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2025-08-11T19:47:17.028Z] 
[taskcluster:warn 2025-08-11T19:47:17.028Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2025-08-11T19:47:17.028Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2025-08-11T19:47:17.028Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2025-08-11T19:47:17.028Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2025-08-11T19:47:17.028Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2025-08-11T19:47:17.028Z] 
[taskcluster:warn 2025-08-11T19:47:17.028Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2025-08-11T19:47:17.028Z] ---
[taskcluster:warn 2025-08-11T19:47:17.028Z]   created: "2025-08-11T19:44:32.568Z"
[taskcluster:warn 2025-08-11T19:47:17.028Z]   deadline: "2025-08-11T20:44:32.568Z"
[taskcluster:warn 2025-08-11T19:47:17.028Z]   dependencies: []
[taskcluster:warn 2025-08-11T19:47:17.028Z]   expires: "2026-08-11T20:44:32.568Z"
[taskcluster:warn 2025-08-11T19:47:17.028Z]   extra: {}
[taskcluster:warn 2025-08-11T19:47:17.028Z]   metadata:
[taskcluster:warn 2025-08-11T19:47:17.028Z]     description: Check code style with pre-commit hooks
[taskcluster:warn 2025-08-11T19:47:17.028Z]     name: 'Code Coverage checks: linting'
[taskcluster:warn 2025-08-11T19:47:17.028Z]     owner: bastien@mozilla.com
[taskcluster:warn 2025-08-11T19:47:17.028Z]     source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-08-11T19:47:17.028Z]   payload:
[taskcluster:warn 2025-08-11T19:47:17.028Z]     command:
[taskcluster:warn 2025-08-11T19:47:17.028Z]     - - bash
[taskcluster:warn 2025-08-11T19:47:17.028Z]       - -cx
[taskcluster:warn 2025-08-11T19:47:17.028Z]       - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2025-08-11T19:47:17.028Z]         -e TASK_ID 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-08-11T19:47:17.028Z]         /src && cd /src && git checkout 779176c8f81eb1c1415149abca0334a9502d1c4e -b
[taskcluster:warn 2025-08-11T19:47:17.028Z]         checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-08-11T19:47:17.028Z]         --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2025-08-11T19:47:17.028Z]         --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2025-08-11T19:47:17.028Z]         -a --show-diff-on-failure'
[taskcluster:warn 2025-08-11T19:47:17.028Z]     features:
[taskcluster:warn 2025-08-11T19:47:17.028Z]       backingLog: true
[taskcluster:warn 2025-08-11T19:47:17.028Z]       liveLog: true
[taskcluster:warn 2025-08-11T19:47:17.028Z]     logs:
[taskcluster:warn 2025-08-11T19:47:17.028Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2025-08-11T19:47:17.028Z]       live: public/logs/live.log
[taskcluster:warn 2025-08-11T19:47:17.028Z]     maxRunTime: 3600
[taskcluster:warn 2025-08-11T19:47:17.028Z]     onExitStatus:
[taskcluster:warn 2025-08-11T19:47:17.028Z]       retry:
[taskcluster:warn 2025-08-11T19:47:17.028Z]       - 125
[taskcluster:warn 2025-08-11T19:47:17.028Z]       - 128
[taskcluster:warn 2025-08-11T19:47:17.028Z]   priority: lowest
[taskcluster:warn 2025-08-11T19:47:17.028Z]   projectId: none
[taskcluster:warn 2025-08-11T19:47:17.028Z]   provisionerId: code-analysis-1
[taskcluster:warn 2025-08-11T19:47:17.028Z]   requires: all-completed
[taskcluster:warn 2025-08-11T19:47:17.028Z]   retries: 5
[taskcluster:warn 2025-08-11T19:47:17.028Z]   routes:
[taskcluster:warn 2025-08-11T19:47:17.028Z]   - checks
[taskcluster:warn 2025-08-11T19:47:17.028Z]   schedulerId: taskcluster-github
[taskcluster:warn 2025-08-11T19:47:17.028Z]   scopes: []
[taskcluster:warn 2025-08-11T19:47:17.028Z]   tags: {}
[taskcluster:warn 2025-08-11T19:47:17.028Z]   taskGroupId: RK5ZFNofTrOj_ByYKDtrBw
[taskcluster:warn 2025-08-11T19:47:17.028Z]   taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2025-08-11T19:47:17.028Z]   workerType: linux-gw-gcp
[taskcluster:warn 2025-08-11T19:47:17.028Z] 
[taskcluster 2025-08-11T19:47:17.489Z] Executing command 0: bash -cx 'podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID '\''python:3.12'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 779176c8f81eb1c1415149abca0334a9502d1c4e -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'\'
+ podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.12 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 779176c8f81eb1c1415149abca0334a9502d1c4e -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'
Resolved "python" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/python:3.12...
Getting image source signatures
Copying blob sha256:34af509f605c821f54b5815829279b93b3832d6895c2b6e8ea2d0c19a1f25af2
Copying blob sha256:ebed137c7c18cb1906fb8314eabc10611ddf49a281f8c1b5eab987a7137f749f
Copying blob sha256:37f838b71c6b82c581b7543a313255b8c99c23cc9d96c1ad6f9f5f208c942553
Copying blob sha256:873a4c80287477653c01b20948fc34bb1bacf0f826bcc2ddc3bd2fe25b342d45
Copying blob sha256:ffd592b5cf92171a279d48e22387a596c940352327e0c1973972a38f41042b19
Copying blob sha256:c2e76af9483f2d17a3e370639403df2c53a3da1480d533116a8694cd91f15d5a
Copying blob sha256:c2e76af9483f2d17a3e370639403df2c53a3da1480d533116a8694cd91f15d5a
Copying blob sha256:ffd592b5cf92171a279d48e22387a596c940352327e0c1973972a38f41042b19
Copying blob sha256:34af509f605c821f54b5815829279b93b3832d6895c2b6e8ea2d0c19a1f25af2
Copying blob sha256:ebed137c7c18cb1906fb8314eabc10611ddf49a281f8c1b5eab987a7137f749f
Copying blob sha256:37f838b71c6b82c581b7543a313255b8c99c23cc9d96c1ad6f9f5f208c942553
Copying blob sha256:873a4c80287477653c01b20948fc34bb1bacf0f826bcc2ddc3bd2fe25b342d45
Copying blob sha256:b7db6ad1f83721354c4011a0fe015c2a140851c5e722bc65fbdf0e9c38172546
Copying blob sha256:b7db6ad1f83721354c4011a0fe015c2a140851c5e722bc65fbdf0e9c38172546
Copying config sha256:b3d245705d9c006d10d35b888f58e42d57b803388d3e06d885a050520782daf7
Writing manifest to image destination
Storing signatures
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=# 
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ [  ]
+ mesg n
+ true
+ git clone --quiet https://github.com/mozilla/code-coverage /src
+ cd /src
+ git checkout 779176c8f81eb1c1415149abca0334a9502d1c4e -b checks
Switched to a new branch 'checks'
+ cd /src/bot
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src/backend
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src
+ pre-commit run -a --show-diff-on-failure
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@3.1.0.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Initializing environment for https://github.com/asottile/yesqa.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-redis==3.5.1,types-python-dateutil==0.1.3,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-pytz==2022.6.0.1,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-setuptools==67.6.0.0,types-pytz==2022.6.0.1.
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
ruff.....................................................................Passed
ruff-format..............................................................Passed
prettier.................................................................Passed
check python ast.........................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Passed
trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
fix requirements.txt.....................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy-backend.............................................................Passed
mypy-bot.................................................................Passed
mypy-events..............................................................Passed
mypy-report..............................................................Passed
mypy-tools...............................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2025-08-11T19:48:44.678Z]    Exit Code: 0
[taskcluster 2025-08-11T19:48:44.678Z]    User Time: 24.155849s
[taskcluster 2025-08-11T19:48:44.678Z]  Kernel Time: 4.181695s
[taskcluster 2025-08-11T19:48:44.678Z]    Wall Time: 1m27.189183117s
[taskcluster 2025-08-11T19:48:44.678Z]       Result: SUCCEEDED
[taskcluster 2025-08-11T19:48:44.678Z] === Task Finished ===
[taskcluster 2025-08-11T19:48:44.678Z] Task Duration: 1m27.18940365s