This commit is contained in:
Hans 2025-12-16 17:02:47 -05:00 committed by GitHub
commit 756b107bea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ use crate::rules::flake8_tidy_imports::settings::Strictness;
/// ## Options
/// - `lint.flake8-tidy-imports.ban-relative-imports`
///
/// ## Fix safety
/// This fix is marked as unsafe if it may remove comments associated
/// with the import statement. The fix is only applied when the absolute module
/// path can be reliably determined.
///
/// [PEP 8]: https://peps.python.org/pep-0008/#imports
#[derive(ViolationMetadata)]
#[violation_metadata(stable_since = "v0.0.169")]