mirror of https://github.com/astral-sh/ruff
docs: Minor formatting typo in F401 example. (#11601)
## Summary Removed stray space in sample code snippet that is against ruff's own default formatting rules. This documentation appears on https://docs.astral.sh/ruff/rules/unused-import/ ## Test Plan This is a trivially obvious change, verifiable with `ruff format --check`
This commit is contained in:
parent
5f976cae07
commit
e14096f0a8
|
|
@ -41,7 +41,7 @@ interface, as in:
|
|||
# __init__.py
|
||||
import some_module
|
||||
|
||||
__all__ = [ "some_module"]
|
||||
__all__ = ["some_module"]
|
||||
```
|
||||
|
||||
## Fix safety
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ enum UnusedImportContext {
|
|||
/// # __init__.py
|
||||
/// import some_module
|
||||
///
|
||||
/// __all__ = [ "some_module"]
|
||||
/// __all__ = ["some_module"]
|
||||
/// ```
|
||||
///
|
||||
/// ## Fix safety
|
||||
|
|
|
|||
Loading…
Reference in New Issue