File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ def set_boards_to_build(build_all):
68
68
69
69
if not build_all :
70
70
boards_to_build = set ()
71
- board_pattern = re .compile (r"^ports\ /[^/]+\ /boards\ /([^/]+)\ /" )
72
- port_pattern = re .compile (r"^ports\ /([^/]+)\ /" )
71
+ board_pattern = re .compile (r"^ports/[^/]+/boards/([^/]+)/" )
72
+ port_pattern = re .compile (r"^ports/([^/]+)/" )
73
73
for p in changed_files :
74
74
# See if it is board specific
75
75
board_matches = board_pattern .search (p )
@@ -120,7 +120,7 @@ def set_docs_to_build(build_all):
120
120
doc_match = build_all
121
121
if not build_all :
122
122
doc_pattern = re .compile (
123
- r"^(?:docs|extmod/ulab|(?:(?:ports\ /\w+\ /bindings|shared-bindings)\S+\.c|conf\.py|tools\ /extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
123
+ r"^(?:docs|extmod/ulab|(?:(?:ports/\w+/bindings|shared-bindings)\S+\.c|conf\.py|tools/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
124
124
)
125
125
for p in changed_files :
126
126
if doc_pattern .search (p ):
You can’t perform that action at this time.
0 commit comments