Skip to content

[flake8-bandit] Support explicit string concatenations in S310 HTTP detection#12315

Merged
charliermarsh merged 1 commit intomainfrom
charlie/s310
Jul 14, 2024
Merged

[flake8-bandit] Support explicit string concatenations in S310 HTTP detection#12315
charliermarsh merged 1 commit intomainfrom
charlie/s310

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

Closes #12314.

@charliermarsh charliermarsh added the bug Something isn't working label Jul 13, 2024
@github-actions
Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

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

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:81:14: 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 1 0 1 0 0

Linter (preview)

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

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:81:14: 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 1 0 1 0 0

Formatter (stable)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

openai/openai-cookbook (error)

warning: Detected debug build without --no-cache.
error: Failed to parse examples/chatgpt/gpt_actions_library/.gpt_action_getting_started.ipynb:11:1:1: Expected an expression
error: Failed to parse examples/chatgpt/gpt_actions_library/gpt_action_bigquery.ipynb:13:1:1: Expected an expression

Formatter (preview)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

openai/openai-cookbook (error)

ruff format --preview

warning: Detected debug build without --no-cache.
error: Failed to parse examples/chatgpt/gpt_actions_library/.gpt_action_getting_started.ipynb:11:1:1: Expected an expression
error: Failed to parse examples/chatgpt/gpt_actions_library/gpt_action_bigquery.ipynb:13:1:1: Expected an expression

@charliermarsh charliermarsh merged commit 18c364d into main Jul 14, 2024
@charliermarsh charliermarsh deleted the charlie/s310 branch July 14, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S310 should allow HTTP prefixes on explicit string concatenations

1 participant