mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 23:24:31 -05:00
Fix up some types in the ecosystem code (#8898)
## Summary
Fixes up the type annotations to make type analyzers a little happier 😄
## Test Plan
N/A
This commit is contained in:
@@ -104,7 +104,7 @@ class FormatOptions(CommandOptions):
|
||||
return args
|
||||
|
||||
def to_black_args(self) -> list[str]:
|
||||
args = []
|
||||
args: list[str] = []
|
||||
if self.exclude:
|
||||
args.extend(["--exclude", self.exclude])
|
||||
if self.preview:
|
||||
|
||||
Reference in New Issue
Block a user