Skip to content
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

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open

Projekt na prvočíslo #221

wants to merge 47 commits into from

Conversation

konj27
Copy link

@konj27 konj27 commented Nov 28, 2022

Spolupracovali:
Jan Koňařík
Martin Stříteský
Erik Jukin
Michal Vašíček

konj27 and others added 22 commits November 4, 2022 10:05
project s fungujícím if cyklem
pracovní verze projektu, ještě bude updatenuto.
Partially commented - please finish the function comments including their variables
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
Copy link
Owner

@turecekt turecekt left a 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

projekt.py Outdated Show resolved Hide resolved
konj27 and others added 2 commits December 8, 2022 16:21
aplikován commit suggestion pro změnu podle vašeho návrhu.

Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
@konj27 konj27 requested a review from turecekt January 4, 2023 15:52
Copy link
Owner

@turecekt turecekt left a 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

@MartinStritesky
Copy link

Opraveno, pytest i flake8 prochází, dokumentace vygenerována

@konj27 konj27 requested a review from turecekt January 17, 2023 17:41
Copy link
Owner

@turecekt turecekt left a 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
Comment on lines 1 to 5
"""Test for primality."""

import math

"""This file consists of two methods for determination of primality
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""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

projekt.py Show resolved Hide resolved
Update podle suggestions

Co-authored-by: Tomáš Tureček <42441627+turecekt@users.noreply.github.com>
@konj27 konj27 requested a review from turecekt January 25, 2023 16:18
Copy link
Owner

@turecekt turecekt left a 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

@konj27
Copy link
Author

konj27 commented Jan 25, 2023

flake 8 prochází. změna about you sekce aby zobrazovala odkaz na náš profil místo tagu.

@konj27 konj27 requested a review from turecekt January 25, 2023 18:05
Copy link
Owner

@turecekt turecekt left a 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/

projekt.py Outdated Show resolved Hide resolved
projekt.py Outdated Show resolved Hide resolved
projekt.py Outdated Show resolved Hide resolved
projekt.py Outdated Show resolved Hide resolved
konj27 and others added 8 commits January 25, 2023 19:44
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants