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:
Vitaliy 2024-05-29 11:14:53 -04:00 committed by GitHub
parent 5f976cae07
commit e14096f0a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ interface, as in:
# __init__.py
import some_module
__all__ = [ "some_module"]
__all__ = ["some_module"]
```
## Fix safety

View File

@ -54,7 +54,7 @@ enum UnusedImportContext {
/// # __init__.py
/// import some_module
///
/// __all__ = [ "some_module"]
/// __all__ = ["some_module"]
/// ```
///
/// ## Fix safety