-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Projekt na prvočíslo #221
base: master
Are you sure you want to change the base?
Projekt na prvočíslo #221
Conversation
pracovní verze projektu, ještě bude updatenuto.
Partially commented - please finish the function comments including their variables
# Conflicts: # projekt.py
Obě metody jsou dle mého deterministické,.. přehozeny funkce, aby u čísel větších než 100 byla použita početní metoda a ne metoda síta. lehký edit komentářů.
linted via Flake8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- přijet update z upstream repozitáře viz zadání projektu na moodlu (to vyřeší problém s pytestem)
- odstranit example
aplikován commit suggestion pro změnu podle vašeho návrhu. Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stále neprochází pytest: https://github.com/konj27/vs_project/actions
protože nejsou přijety změny z upstream repozitáře.
[8 commits behind turecekt:master
Partially commented - please finish the function comments including their variables
Opraveno, pytest i flake8 prochází, dokumentace vygenerována |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ještě upravit docstring modulu projekt na víceřádkový (viz code review) a aktualizovat jeho obsah (timetracker není implementován) - stejně v readme.md
- v sekci About na hlavní stránce repa upravit Website url na url vašich gh-pages s vygenerovanou dokumentací
projekt.py
Outdated
"""Test for primality.""" | ||
|
||
import math | ||
|
||
"""This file consists of two methods for determination of primality |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Test for primality.""" | |
import math | |
"""This file consists of two methods for determination of primality | |
"""Test for primality. | |
This file consists of two methods for determination of primality |
Update podle suggestions Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- je potřeba zařadit i návrh první změny z minulého review, jinak nebude procházet přes flake8
- dodělat vše, co bylo požadováno v minulém review
flake 8 prochází. změna about you sekce aby zobrazovala odkaz na náš profil místo tagu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ještě drobnost ohledně typů parametrů v docstringu, pdoc neumí všechny direktivy reST, takže datové typy raději umístit jako type hints viz code review
- v popisu modulu projekt a i v README.md máte stále popis této vlastnosti ikdyž není implementována: "Simple timetracker is included for performance measuring.Python time library is used." - odstranit
- zde(https://github.com/konj27/vs_project) v pravém sloupci nahoře doplní vlastník repozitáře Website url na url s vygenerovanou dokumentaci v Github Pages z Action deploy, tzn na tuto hodnotu: https://konj27.github.io/vs_project/
Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
Spolupracovali:
Jan Koňařík
Martin Stříteský
Erik Jukin
Michal Vašíček