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

Prvocisla #231

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

Prvocisla #231

wants to merge 27 commits into from

Conversation

Cvachtacik
Copy link

No description provided.

Vymazanie vzorového súboru 'example.py'
Vloženie hlavného programu
Úprava dĺžky komentárov v kóde, na odstránenie errorov z flake8.
Odstránenie zvyšných errorov a warningov cez flake8
Test pre funkciu 'prvocislo' s testovacími hodnotami do 1000
Test pre funkciu 'prvocislo_mr' s hodnotami väčšími ako 1000
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.

Prvočísla/main.py Outdated Show resolved Hide resolved
@Cvachtacik Cvachtacik closed this Jan 27, 2023
@Cvachtacik Cvachtacik reopened this Jan 27, 2023
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.

Úprava kódu main.py, test_prvocislo.py a test_prvocislo_mr.py tak, aby vyhovoval testu Flake8
Vymazanie adresárov .pytest_cache a docs
Comment on lines 6 to 7
def test_prvocislo(self):
self.assertFalse(prvocislo(1))
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
def test_prvocislo(self):
self.assertFalse(prvocislo(1))
def test_prvocislo():
assert prvocislo(1) is False

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.

@Cvachtacik
Copy link
Author

Povolené púšťanie workflow Python checker, ale u pages-build-deployment nemám možnosť pre disable viz tu:
Screenshot 2023-01-29 at 00 23 48

Oprava v teste
Úprava komentárov, aby vyhovovali pre 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.

Ještě poslední drobnosti, stejně doplnit u funkce prvocislo_mr.

Posledné drobnosti
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.

poslední drobnost

main.py Outdated Show resolved Hide resolved
main.py Outdated Show resolved Hide resolved
main.py Show resolved Hide resolved
Posledné úpravy
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

2 participants