Skip to content

Commit fb0a097

Browse files
Expand lists in is_important_file()
1 parent 3162593 commit fb0a097

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

master/master.cfg

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,28 @@ cpulock = locks.WorkerLock(
184184

185185
def is_important_file(filename):
186186
unimportant_prefixes = (
187+
".azure-pipelines",
188+
".devcontainer"
187189
".github/",
188-
".gitignore",
189-
".vsts",
190-
"Misc/",
190+
".well-known",
191191
"Doc/",
192-
"Demo/",
192+
"InternalDocs/",
193+
"Misc/",
194+
".coveragerc",
195+
".editorconfig",
196+
".gitattributes",
197+
".gitignore",
198+
".mailmap",
199+
"LICENSE"
193200
)
194201
unimportant_suffixes = (
202+
".txt",
195203
".md",
196204
".rst",
197205
".yml",
198206
".yaml",
199207
"README",
208+
"ruff.toml",
200209
)
201210
if filename.lstrip("\\/").startswith(unimportant_prefixes):
202211
return False

0 commit comments

Comments
 (0)