Skip to content

[python-runtime] Fix formatting and lint#15142

Merged
elprans merged 2 commits intomainfrom
elprans/python-runtime-lint
Feb 19, 2026
Merged

[python-runtime] Fix formatting and lint#15142
elprans merged 2 commits intomainfrom
elprans/python-runtime-lint

Conversation

@elprans
Copy link
Copy Markdown
Contributor

@elprans elprans commented Feb 19, 2026

Make ruff happy with vc_init.py. No functional changes.

Note

Low Risk Change

This PR contains only formatting/linting changes (import reordering, quote style changes, line wrapping) and linter configuration updates with no functional logic changes.

  • Reformatted Python file with ruff: import ordering, single-to-double quotes, line wrapping
  • Updated pyproject.toml linter rules to ignore pydocstyle globally
  • Re-enabled ruff lint/format tests that were previously skipped

Risk assessment for commit 037ad61.

Make `ruff` happy with `vc_init.py`.  No functional changes.
@elprans elprans requested review from a team as code owners February 19, 2026 16:36
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: 037ad61

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@vercel/python-runtime Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 19, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-640qpxawh.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-640qpxawh.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A Python runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-640qpxawh.vercel.sh/tarballs/vercel_runtime-0.5.0.dev1771519166+037ad61-py3-none-any.whl"

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 19, 2026

🧪 Unit Test Strategy

Comparing: 2e4ba6b037ad61 (view diff)

Strategy: No tests needed

✨ No packages affected - skipping tests

Results

  • Unit tests: None
  • E2E tests: Running in parallel via E2E Tests workflow
  • Type checks: None

This comment is automatically generated based on the affected testing strategy

@elprans elprans merged commit 8d69c72 into main Feb 19, 2026
19 checks passed
@elprans elprans deleted the elprans/python-runtime-lint branch February 19, 2026 17:24
ctgowrie pushed a commit that referenced this pull request Feb 19, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## vercel@50.21.0

### Minor Changes

- Add `--all` flag to `vercel ls` command and improve behavior when not
linked to a project
([#15143](#15143))

- `vercel ls` no longer requires a linked project. When not linked, it
now lists all deployments across all projects in the current scope
- Added `--all` flag to explicitly list deployments across all projects,
even when linked to a specific project
- Added "Project" column to the deployment table output to show which
project each deployment belongs to
- JSON output (`--format json`) is unchanged and continues to include
the `name` field for project name

### Patch Changes

- fix(cli): Handle SIGINT during upgrade prompt without showing a
stacktrace ([#15105](#15105))

- Use formatted tables for `metrics schema` output, matching the
convention used by other list commands
([#15138](#15138))

- Updated dependencies
\[[`5d1f55af04d0fdba7e7ac86f9eeda44316f54f5b`](5d1f55a)]:
    -   @vercel/next@4.15.31

## @vercel/config@0.0.33

### Patch Changes

- Fix rewrite regexp conversion when header transforms are present
([#15134](#15134))

## @vercel/next@4.15.31

### Patch Changes

- Added support for `regions` and `functionFailoverRegions` in
per-function configuration from `vercel.json` for Next.js projects.
([#15149](#15149))

## @vercel/python-runtime@0.4.3

### Patch Changes

- fix formatting and lint
([#15142](#15142))


<!-- VADE_RISK_START -->
> [!NOTE]
> Low Risk Change
>
> This PR is an automated Changesets release that only bumps version
numbers in package.json files, updates CHANGELOG.md files, and deletes
changeset markdown files - no code logic changes.
> 
> - Version bumps in package.json files (vercel, @vercel/config,
@vercel/next, @vercel/python-runtime)
> - CHANGELOG.md updates documenting previous changes
> - Deleted .changeset/*.md files consumed by release process
>
> <sup>Risk assessment for [commit
3b54c69](https://github.com/vercel/vercel/commit/3b54c6956719db3f1dfd50629330f42ab8143af6).</sup>
<!-- VADE_RISK_END -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants