mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 16:40:19 +00:00
[airflow] Avoid implicit DAG schedule (AIR301) (#14581)
This commit is contained in:
parent
f3dac27e9a
commit
fbff4dec3a
9 changed files with 133 additions and 2 deletions
|
@ -1289,6 +1289,7 @@ impl<'a> SemanticModel<'a> {
|
|||
"typing" => self.seen.insert(Modules::TYPING),
|
||||
"typing_extensions" => self.seen.insert(Modules::TYPING_EXTENSIONS),
|
||||
"attr" | "attrs" => self.seen.insert(Modules::ATTRS),
|
||||
"airflow" => self.seen.insert(Modules::AIRFLOW),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
@ -1860,6 +1861,7 @@ bitflags! {
|
|||
const FLASK = 1 << 24;
|
||||
const ATTRS = 1 << 25;
|
||||
const REGEX = 1 << 26;
|
||||
const AIRFLOW = 1 << 27;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue