Skip to content

Commit f3793ab

Browse files
dcharkescommit-bot@chromium.org
authored andcommitted
[tools] Update generate_idefiles.py to exclude analyzing sdk_nnbd
After https://dart-review.googlesource.com/c/sdk/+/116527 was landed, running the analyzer on the sdk root produces 14k+ messages instead of 2k+ messages. Note 1800 of those 2200 messages are TODOs. Change-Id: I9d75924b83ac9e2c42fd2ce4ca64b73d55c8fc53 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118987 Commit-Queue: Daco Harkes <[email protected]> Auto-Submit: Daco Harkes <[email protected]> Reviewed-by: Vijay Menon <[email protected]>
1 parent 661816e commit f3793ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/generate_idefiles.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def GenerateAnalysisOptions(options):
8484
8585
To prevent dartanalyzer from tripping on the non-Dart files when it is
8686
started from the root dart-sdk directory.
87-
https://github.com/Dart-Code/Dart-Code/issues/1295
87+
https://github.com/dart-lang/sdk/issues/35562
8888
8989
Args:
9090
options: supported options include: force, dir
@@ -96,6 +96,7 @@ def GenerateAnalysisOptions(options):
9696
- runtime/**
9797
- samples-dev/swarm/**
9898
- sdk/lib/**
99+
- sdk_nnbd/lib/**
99100
- tests/**
100101
- third_party/observatory_pub_packages/**
101102
- third_party/pkg/**
@@ -106,7 +107,7 @@ def GenerateAnalysisOptions(options):
106107
- tools/dom/**
107108
- tools/sdks/dart-sdk/lib/**
108109
- tools/status_clean.dart
109-
- xcodebuild / **"""
110+
- xcodebuild/**"""
110111

111112
fname = os.path.join(options.dir, "analysis_options.yaml")
112113

0 commit comments

Comments
 (0)