File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -454,15 +454,19 @@ def do_cheats():
454
454
+ f"[coverage { facts .ver } ](https://pypi.org/project/coverage/{ facts .ver } )." ,
455
455
)
456
456
457
- print ("\n ## To run this code:" )
457
+ print ("\n ## To install this code:" )
458
458
if facts .branch == "master" :
459
459
print (f"python3 -m pip install git+{ github } #{ egg } " )
460
460
else :
461
461
print (f"python3 -m pip install git+{ github } @{ facts .branch } #{ egg } " )
462
462
print (f"python3 -m pip install git+{ github } @{ facts .sha [:20 ]} #{ egg } " )
463
463
464
+ print ("\n ## To read this code on GitHub:" )
465
+ print (f"https://github.com/nedbat/coveragepy/commit/{ facts .sha } " )
466
+ print (f"https://github.com/nedbat/coveragepy/commits/{ facts .sha } " )
467
+
464
468
print (
465
- "\n ## For other collaborators:\n "
469
+ "\n ## For other collaborators to get this code :\n "
466
470
+ f"git clone { github } \n "
467
471
+ f"cd { repo .partition ('/' )[- 1 ]} \n "
468
472
+ f"git checkout { facts .sha } " ,
You can’t perform that action at this time.
0 commit comments