mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
parent
4d49d5e845
commit
b7634b6ede
2 changed files with 2 additions and 2 deletions
|
@ -1000,7 +1000,7 @@ pub struct Flake8ImportConventionsOptions {
|
|||
"#
|
||||
)]
|
||||
/// A list of modules that should not be imported from using the
|
||||
/// `import ... from ...` syntax.
|
||||
/// `from ... import ...` syntax.
|
||||
///
|
||||
/// For example, given `banned-from = ["pandas"]`, `from pandas import DataFrame`
|
||||
/// would be disallowed, while `import pandas` would be allowed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue