Skip to content

Prvocisla#231

Open
Cvachtacik wants to merge 27 commits into
turecekt:masterfrom
Cvachtacik:Prvocisla
Open

Prvocisla#231
Cvachtacik wants to merge 27 commits into
turecekt:masterfrom
Cvachtacik:Prvocisla

Conversation

@Cvachtacik
Copy link
Copy Markdown

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
Copy Markdown
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.

Comment thread Prvočísla/main.py Outdated
@Cvachtacik Cvachtacik closed this Jan 27, 2023
@Cvachtacik Cvachtacik reopened this Jan 27, 2023
Copy link
Copy Markdown
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 thread test_prvocislo.py Outdated
Comment on lines +6 to +7
def test_prvocislo(self):
self.assertFalse(prvocislo(1))
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread main.py Outdated
Comment thread main.py Outdated
Comment thread main.py
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