Skip to content

Commit b3d2e97

Browse files
Merge branch 'canbula:master' into master
2 parents ead16d0 + 8b82b00 commit b3d2e97

31 files changed

Lines changed: 277 additions & 1 deletion
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Week04 Homework
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
paths: ['Week04/**']
10+
pull_request:
11+
branches: [ "master" ]
12+
paths: ['Week04/**']
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Set up Python 3.12
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: "3.12"
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install flake8 pytest
32+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
- name: Lint with flake8
34+
run: |
35+
# stop the build if there are Python syntax errors or undefined names
36+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39+
- name: Test with pytest
40+
run: |
41+
pytest -q --tb=no 'Week04/test_functions.py'
42+
pytest -q --tb=no 'Week04/test_decorators.py'

‎LectureNotes.pdf‎

5.2 MB
Binary file not shown.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ which you should complete in your own forked repository
1818
and send a pull request to the original repository.
1919

2020
# Microsoft Teams
21-
All announcements of this course will be done via Microsoft Teams. Join the group with the invite code: khfjfwr
21+
All announcements of this course will be done via Microsoft Teams. Join the group with the invite code: w0p5whf
2222

2323
# Additional Resources
2424
- [Python Documentation](https://docs.python.org/3/)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "220316069"
2+
full_name = "Ahmet Hakan Yıldırım"

‎Week01/info_baris_bursali.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "244101025"
2+
full_name = "Barış Bursalı"

‎Week01/info_berkay_altunbag.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230316009"
2+
full_name = "Berkay Altunbağ"

‎Week01/info_cem_ayyildiz.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "220315095"
2+
full_name = "Cem Ayyildiz"

‎Week01/info_damla_sila_gokdemir.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230316061"
2+
full_name = "Damla Sıla Gökdemir"

‎Week01/info_darya_leven.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "210315085"
2+
full_name = "Darya Leven"

‎Week01/info_eren_ozturk.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230316034"
2+
full_name = "Eren Öztürk"

0 commit comments

Comments
 (0)