Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci-cd-exercise
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cedric Verstege
ci-cd-exercise
Commits
60826a23
Commit
60826a23
authored
1 month ago
by
wep23441
Browse files
Options
Downloads
Patches
Plain Diff
linting 7
parent
41270cba
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
case-2-test/wizard_calculator.py
+1
-1
1 addition, 1 deletion
case-2-test/wizard_calculator.py
ci-configs/case-2-test/coverage.yml
+0
-1
0 additions, 1 deletion
ci-configs/case-2-test/coverage.yml
with
1 addition
and
2 deletions
case-2-test/wizard_calculator.py
+
1
−
1
View file @
60826a23
...
...
@@ -22,7 +22,7 @@ def cast_division_spell(a, b):
def
conjure_magic_circle_area
(
radius
):
return
math
.
pi
*
radius
*
radius
# pragma: no cover
if
__name__
==
"
__main__
"
:
print
(
"
Welcome to the Wizard
'
s Magic Calculator! 🧙♂️✨
"
)
print
(
"
Choose your spell:
"
)
...
...
This diff is collapsed.
Click to expand it.
ci-configs/case-2-test/coverage.yml
+
0
−
1
View file @
60826a23
...
...
@@ -3,5 +3,4 @@ coverage:
image
:
python:3.11
script
:
-
pip install pytest pytest-cov
-
pytest --cov=case-2-test --cov-report=term-missing
-
pytest ./case-2-test/ --cov=case-2-test --cov-report=term --cov-fail-under=95
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment