Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid allocation when validating HTTP and HTTPS prefixes #12313

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

charliermarsh
Copy link
Member

No description provided.

@charliermarsh charliermarsh added internal An internal refactor or improvement performance Potential performance improvement labels Jul 13, 2024
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+0 -2 violations, +0 -0 fixes in 2 projects; 52 projects unchanged)

bokeh/bokeh (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

- tests/support/plugins/file_server.py:111:13: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.

zulip/zulip (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

- scripts/lib/puppet_cache.py:67:10: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
S310 2 0 2 0 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+0 -2 violations, +0 -0 fixes in 2 projects; 52 projects unchanged)

bokeh/bokeh (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

- tests/support/plugins/file_server.py:111:13: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.

zulip/zulip (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

- scripts/lib/puppet_cache.py:67:10: S310 Audit URL open for permitted schemes. Allowing use of `file:` or custom schemes is often unexpected.

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
S310 2 0 2 0 0

@charliermarsh charliermarsh merged commit 3bfbbbc into main Jul 13, 2024
20 checks passed
@charliermarsh charliermarsh deleted the charlie/alloc branch July 13, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement performance Potential performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant