Throwaway: English comments trial (do not merge) #213

Closed
Tirsvad wants to merge 7 commits from verify-english-comments into main
2 changed files with 30 additions and 0 deletions
Showing only changes of commit c0a0ccc131 - Show all commits
@@ -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
+14
View File
@@ -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