mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 07:34:06 -05:00
[airflow] Avoid implicit DAG schedule (AIR301) (#14581)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user