Throwaway: English comments trial (do not merge) #213
@@ -0,0 +1,16 @@
|
||||
name: Verify English comments
|
||||
|
||||
# Throwaway (MIL-013 task 8, #204): calls the reusable workflow at main on a
|
||||
# pull request. Delete with the branch.
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
english-comments:
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
uses: TirSystem/github-action/.gitea/workflows/english-comments.yml@main
|
||||
with:
|
||||
tools-ref: main
|
||||
@@ -0,0 +1,14 @@
|
||||
"""Throwaway sample for the English-comments trial (MIL-013 task 8)."""
|
||||
|
||||
|
||||
def total(basket):
|
||||
# This function adds the totals of the basket together and returns the sum
|
||||
# Denne funktion beregner totalen for kurven og gemmer resultatet i en midlertidig mappe
|
||||
result = sum(basket)
|
||||
|
||||
# Fungsi ini mengira jumlah bagi troli dan menyimpan hasil dalam folder sementara
|
||||
return result
|
||||
|
||||
|
||||
def quote():
|
||||
return "tak" # Tak for hjælpen, sagde kunden og beregner totalen for kurven # english-comments: ignore
|
||||
Reference in New Issue
Block a user