Skip to content

Commit 08d105f

Browse files
committed
Merge branch 'issue/8'
2 parents eafd712 + 397a0a0 commit 08d105f

File tree

103 files changed

+32
-19180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+32
-19180
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,4 @@ dmypy.json
126126
# Pyre type checker
127127
.pyre/
128128
.DS_Store
129+
htmlcov/

demo-assignments/A0-OOP/hello/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ run-test-coverage: create-doc-folder
2929
pytest --verbose --color=yes --cov --cov-report term-missing --cov-report=html:$(DOCS)/test-cov tests/
3030
@echo "All unittests passed!"
3131

32-
3332
.PHONY: check-types
3433
check-types:
3534
# use shell command which to check if mypy is installed and is in $PATH
@@ -46,6 +45,7 @@ create-doc-folder:
4645

4746
.PHONY: create-docs
4847
create-docs: create-doc-folder
48+
# provide each module name; current path . not working!
4949
pdoc --output-dir $(DOCS)/code-docs hello.py main.py # creates html docs
5050
@echo "html docs created and saved in $(DOCS)/code-docs"
5151

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Module hello
2+
============
3+
Hello World Program using OOP
4+
5+
Classes
6+
-------
7+
8+
`HelloWorld()`
9+
: Hello World Class
10+
11+
Constructor
12+
13+
### Instance variables
14+
15+
`message: str`
16+
: Returns the message - using getter property
17+
18+
Returns:
19+
self._message (str): Message stored in the object
20+
21+
### Methods
22+
23+
`get_message(self) ‑> str`
24+
: Returns the message - using getter method
25+
26+
Returns:
27+
self._message (str): Message stored in the object
28+
29+
`print_message(self) ‑> None`
30+
: Prints the message

demo-assignments/A1-OOP/cold/htmlcov/class_index.html

Lines changed: 0 additions & 219 deletions
This file was deleted.

0 commit comments

Comments
 (0)