Skip to content

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.

@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

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.

2 participants