File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -348,16 +348,19 @@ def _check_url(url: str) -> Tuple[bool, Optional[bool]]:
348
348
match = match .groups ()[0 ]
349
349
if match .startswith ('/' ):
350
350
match = match [1 :]
351
- if match :
352
- if match .startswith ('tree/main' ) or match .startswith ('blob/main' ):
353
- match = match [9 :]
354
- if match .startswith ('/' ):
355
- match = match [1 :]
356
- match = (_ROOT / match ).exists ()
351
+ if match :
352
+ if match .startswith ('tree/main' ) or match .startswith ('blob/main' ):
353
+ match = match [9 :]
354
+ if match .startswith ('/' ):
355
+ match = match [1 :]
356
+ match = (_ROOT / match ).exists ()
357
+ else :
358
+ match = match == '.git'
357
359
else :
358
- match = match == '.git'
360
+ # CaTabRa root
361
+ match = True
359
362
else :
360
- # CaTabRa root
363
+ # CaTabRa root or other repository (catabra-pandas, ...)
361
364
match = True
362
365
363
366
return exists , match
You can’t perform that action at this time.
0 commit comments