Skip to content

Commit 1a1c309

Browse files
authored
Format tools/gn (flutter#33812)
1 parent 0de2f6a commit 1a1c309

File tree

2 files changed

+669
-450
lines changed

2 files changed

+669
-450
lines changed

ci/bin/format.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,11 @@ class PythonFormatChecker extends FormatChecker {
725725
}
726726

727727
Future<int> _runYapfCheck({required bool fixing}) async {
728-
final List<String> filesToCheck = await getFileList(<String>['*.py']);
728+
final List<String> filesToCheck = <String>[
729+
...await getFileList(<String>['*.py']),
730+
// Always include flutter/tools/gn.
731+
'${repoDir.path}/tools/gn',
732+
];
729733

730734
final List<String> cmd = <String>[
731735
yapfBin.path,

0 commit comments

Comments
 (0)