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:
Steve C 2023-11-30 17:02:20 -05:00 committed by GitHub
parent ee5d95f751
commit 3ee1ec70cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 14 deletions

View file

@ -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: