mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-18 17:41:12 +00:00
Rename Red Knot (#17820)
This commit is contained in:
parent
e6a798b962
commit
b51c4f82ea
1564 changed files with 1598 additions and 1578 deletions
|
@ -151,7 +151,7 @@ pub fn set_up_logging(level: LogLevel) -> Result<()> {
|
|||
})
|
||||
.level(level.level_filter())
|
||||
.level_for("globset", log::LevelFilter::Warn)
|
||||
.level_for("red_knot_python_semantic", log::LevelFilter::Warn)
|
||||
.level_for("ty_python_semantic", log::LevelFilter::Warn)
|
||||
.level_for("salsa", log::LevelFilter::Warn)
|
||||
.chain(std::io::stderr())
|
||||
.apply()?;
|
||||
|
|
|
@ -42,7 +42,7 @@ S704.py:11:1: S704 Unsafe use of `flask.Markup` detected
|
|||
|
||||
S704.py:17:1: S704 Unsafe use of `markupsafe.Markup` detected
|
||||
|
|
||||
15 | # NOTE: We may be able to get rid of these false positives with red-knot
|
||||
15 | # NOTE: We may be able to get rid of these false positives with ty
|
||||
16 | # if it includes comprehensive constant expression detection/evaluation.
|
||||
17 | Markup("*" * 8) # S704 (false positive)
|
||||
| ^^^^^^^^^^^^^^^ S704
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue