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

[flake8-bandit] Add Rule for S113 (requests call without timeout) #1692

Merged
merged 3 commits into from
Jan 6, 2023

Conversation

saadmk11
Copy link
Contributor

@saadmk11 saadmk11 commented Jan 6, 2023

ref: #1646

@saadmk11
Copy link
Contributor Author

saadmk11 commented Jan 6, 2023

Not sure why test_ruff_black_compatibility is failing. :(

@charliermarsh
Copy link
Member

It's failing on main, so I can take a look.

@saadmk11
Copy link
Contributor Author

saadmk11 commented Jan 6, 2023

It's failing on main, so I can take a look.

Thank you for the quick update :)

@charliermarsh charliermarsh merged commit 6aba43a into astral-sh:main Jan 6, 2023
@saadmk11 saadmk11 deleted the add-s113 branch January 6, 2023 15:37
bruxisma pushed a commit to ixm-one/pytest-cmake-presets that referenced this pull request Jan 7, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://github.com/charliermarsh/ruff) | `^0.0.212` ->
`^0.0.213` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.213/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.213/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.213/compatibility-slim/0.0.212)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.213/confidence-slim/0.0.212)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.213`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.213)

[Compare
Source](https://github.com/charliermarsh/ruff/compare/v0.0.212...v0.0.213)

#### What's Changed

- Remove Result from SourceCodeGenerator signature by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1677
- Implement `From` conversion for style detector-to-generator by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1678
- Replace `toml` with `toml_edit` by
[@&#8203;messense](https://github.com/messense) in
[astral-sh/ruff#1680
- Tweak badge logo by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1681
- Don't mark D205 as fixable in more-lines case by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1682
- Add requested context to issue template by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1679
- Update `CONTRIBUTING.md` location on `README.md` by
[@&#8203;saadmk11](https://github.com/saadmk11) in
[astral-sh/ruff#1688
- Implement flake8-simplify SIM108 by
[@&#8203;messense](https://github.com/messense) in
[astral-sh/ruff#1684
- Remove TODO comment by [@&#8203;harupy](https://github.com/harupy)
in
[astral-sh/ruff#1691
- Add specialized conversions for RefEquality by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1689
- Avoiding flagging elif statements as potential ternaries by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1694
- \[`flake8-bandit`] Add Rule for `S113` (requests call without timeout)
by [@&#8203;saadmk11](https://github.com/saadmk11) in
[astral-sh/ruff#1692
- Implement flake8-simplify SIM109 by
[@&#8203;messense](https://github.com/messense) in
[astral-sh/ruff#1687
- Simplify SIM201, SIM202, SIM208 by
[@&#8203;chammika-become](https://github.com/chammika-become) in
[astral-sh/ruff#1666
- \[`flake8-bandit`] Add Rule for `S501` (request call with
`verify=False`) by [@&#8203;saadmk11](https://github.com/saadmk11) in
[astral-sh/ruff#1695
- Require explicit opt-in for GitHub and Gitlab formats by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1697
- Include error location in GitHub Action diagnostic messages by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1696
- Include list of fixed files in `stderr` output by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1701
- Remove redundant #!\[allow()] from main_native by
[@&#8203;andersk](https://github.com/andersk) in
[astral-sh/ruff#1703
- Forbid unsafe code by [@&#8203;andersk](https://github.com/andersk)
in
[astral-sh/ruff#1704
- Switch SourceCodeGenerator.buffer from Vec<u8> to String by
[@&#8203;andersk](https://github.com/andersk) in
[astral-sh/ruff#1702
- Remove `add_check` methods by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1705
- Use `trim_end` when checking line continutation by
[@&#8203;harupy](https://github.com/harupy) in
[astral-sh/ruff#1706
- Automatically remove unused variables by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1683
- Lazily compute ranges for class and function bindings by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1708
- Add more backticks to flake8-pytest-style error messages by
[@&#8203;harupy](https://github.com/harupy) in
[astral-sh/ruff#1707
- Increase blackd wait time by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1709
- Revert "Include list of fixed files in `stderr` output
([#&#8203;1701](https://github.com/charliermarsh/ruff/issues/1701))"
by [@&#8203;charliermarsh](https://github.com/charliermarsh) in
[astral-sh/ruff#1711

**Full Changelog**:
astral-sh/ruff@v0.0.212...v0.0.213

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuODQuMiJ9-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants