mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
[flake8-bandit
] Move unsafe-markup-use
from RUF035
to S704
(#15957)
## Summary `RUF035` has been backported into bandit as `S704` in this [PR](https://github.com/PyCQA/bandit/pull/1225) This moves the rule and its corresponding setting to the `flake8-bandit` category ## Test Plan `cargo nextest run` --------- Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
798fa47c2e
commit
c0b1413ecd
26 changed files with 436 additions and 261 deletions
|
@ -334,7 +334,7 @@ impl Configuration {
|
|||
.unwrap_or_default(),
|
||||
flake8_bandit: lint
|
||||
.flake8_bandit
|
||||
.map(Flake8BanditOptions::into_settings)
|
||||
.map(|flake8_bandit| flake8_bandit.into_settings(lint.ruff.as_ref()))
|
||||
.unwrap_or_default(),
|
||||
flake8_boolean_trap: lint
|
||||
.flake8_boolean_trap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue