Skip to content

Commit 8f1bc9c

Browse files
authored
Merge branch 'canbula:master' into master
2 parents 6fcfb46 + f083b29 commit 8f1bc9c

51 files changed

Lines changed: 632 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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: Week05 Homework
5+
6+
on:
7+
push:
8+
branches: ["master"]
9+
paths: ["Week05/**"]
10+
pull_request:
11+
branches: ["master"]
12+
paths: ["Week05/**"]
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v3
23+
- name: Set up Python 3.12
24+
uses: actions/setup-python@v3
25+
with:
26+
python-version: "3.12"
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install flake8 pytest
31+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
- name: Lint with flake8
33+
run: |
34+
# stop the build if there are Python syntax errors or undefined names
35+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38+
- name: Test with pytest
39+
run: |
40+
pytest -q --tb=no 'Week05/test_emails.py'

‎LectureNotes.pdf‎

408 KB
Binary file not shown.

‎Week01/info_ayse_arslan.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230315020"
2+
full_name = "Ayşe Arslan"

‎Week01/info_batuhan_keskin.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230315022"
2+
full_name = "Batuhan Keskin"

‎Week01/info_ferhat_kilic.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "220315050"
2+
full_name = "Ferhat Kılıç"

‎Week01/info_muhammet_birge.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id ="230316035"
2+
full_name = "Muhammet Birge"

‎Week01/info_nazmi_emir_ozer.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
student_id = "230316070"
2-
full_name = "Nazmi Emir Özer"
2+
full_name = "Nazmi Emir Özer"
3+

‎Week01/info_sude_turunc.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
student_id = "230316040"
2+
full_name = "Sude Turunç"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
my_int = 12
2+
my_float = 6.75
3+
my_bool = False
4+
my_complex = 3 + 5j

‎Week02/types_aleyna_gultekin.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
my_int = 24
2+
my_float = 3.14
3+
my_bool = True
4+
my_complex = 2 + 3j

0 commit comments

Comments
 (0)