[ruff] re and regex calls with unraw string as first argument (RUF039) (#14446)
This commit is contained in:
@@ -1281,6 +1281,7 @@ impl<'a> SemanticModel<'a> {
|
||||
"pandas" => self.seen.insert(Modules::PANDAS),
|
||||
"pytest" => self.seen.insert(Modules::PYTEST),
|
||||
"re" => self.seen.insert(Modules::RE),
|
||||
"regex" => self.seen.insert(Modules::REGEX),
|
||||
"six" => self.seen.insert(Modules::SIX),
|
||||
"subprocess" => self.seen.insert(Modules::SUBPROCESS),
|
||||
"tarfile" => self.seen.insert(Modules::TARFILE),
|
||||
@@ -1858,6 +1859,7 @@ bitflags! {
|
||||
const MARKUPSAFE = 1 << 23;
|
||||
const FLASK = 1 << 24;
|
||||
const ATTRS = 1 << 25;
|
||||
const REGEX = 1 << 26;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user