A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

14 rader
287 B

  1. #!/usr/bin/env python
  2. import os
  3. import shutil
  4. import traceback
  5. import uuid
  6. try:
  7. if os.getenv("RUNNER_OS") == "Linux":
  8. os.makedirs("/output", exist_ok=True)
  9. shutil.move(".coverage", f"/output/coverage.{uuid.uuid4().hex}")
  10. except Exception:
  11. traceback.print_exc()