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 S701 (jinja2 autoescape false) #1815

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

saadmk11
Copy link
Contributor

ref: #1646

@charliermarsh charliermarsh merged commit 1a90408 into astral-sh:main Jan 12, 2023
@saadmk11 saadmk11 deleted the s701 branch January 12, 2023 17:07
renovate bot referenced this pull request in ixm-one/pytest-cmake-presets Jan 13, 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://togithub.com/charliermarsh/ruff) | `^0.0.219` ->
`^0.0.220` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.220/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.220/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.220/compatibility-slim/0.0.219)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.220/confidence-slim/0.0.219)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.219...v0.0.220)

#### What's Changed

- Modify visibility and shuffle around some modules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1807](https://togithub.com/charliermarsh/ruff/pull/1807)
- Add usage of ruff in pandas to README by
[@&#8203;BioGeek](https://togithub.com/BioGeek) in
[https://github.com/charliermarsh/ruff/pull/1811](https://togithub.com/charliermarsh/ruff/pull/1811)
- \[`flake8-bandit`] Add Rule for `S701` (jinja2 autoescape false) by
[@&#8203;saadmk11](https://togithub.com/saadmk11) in
[https://github.com/charliermarsh/ruff/pull/1815](https://togithub.com/charliermarsh/ruff/pull/1815)
- Implement autofix for flake8-quotes by
[@&#8203;messense](https://togithub.com/messense) in
[https://github.com/charliermarsh/ruff/pull/1810](https://togithub.com/charliermarsh/ruff/pull/1810)
- Don't trigger SIM401 for complex default values by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1825](https://togithub.com/charliermarsh/ruff/pull/1825)
- Decouple by
[@&#8203;not-my-profile](https://togithub.com/not-my-profile) in
[https://github.com/charliermarsh/ruff/pull/1822](https://togithub.com/charliermarsh/ruff/pull/1822)
- Avoid parsing pyproject.toml files when settings are fixed by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1827](https://togithub.com/charliermarsh/ruff/pull/1827)
- 📝 Update readme example for adding isort required imports by
[@&#8203;nefrob](https://togithub.com/nefrob) in
[https://github.com/charliermarsh/ruff/pull/1824](https://togithub.com/charliermarsh/ruff/pull/1824)
- Implement isort's `reverse_relative` setting by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1826](https://togithub.com/charliermarsh/ruff/pull/1826)
- Avoid SIM110/SIM110 errors with else statements by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1832](https://togithub.com/charliermarsh/ruff/pull/1832)
- Airflow is now using ruff by [@&#8203;ashb](https://togithub.com/ashb)
in
[https://github.com/charliermarsh/ruff/pull/1833](https://togithub.com/charliermarsh/ruff/pull/1833)
- Support for-else loops in `SIM110` and `SIM111` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1834](https://togithub.com/charliermarsh/ruff/pull/1834)
- Use absolute paths for GitHub and Gitlab annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1837](https://togithub.com/charliermarsh/ruff/pull/1837)

#### New Contributors

- [@&#8203;BioGeek](https://togithub.com/BioGeek) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/1811](https://togithub.com/charliermarsh/ruff/pull/1811)
- [@&#8203;nefrob](https://togithub.com/nefrob) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/1824](https://togithub.com/charliermarsh/ruff/pull/1824)
- [@&#8203;ashb](https://togithub.com/ashb) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/1833](https://togithub.com/charliermarsh/ruff/pull/1833)

**Full Changelog**:
astral-sh/ruff@v0.0.219...v0.0.220

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDAuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwMC4xIn0=-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
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.

2 participants