Skip to content

Commit cc10b2a

Browse files
committed
chore: fix linting errors found by ruff
1 parent a6a0655 commit cc10b2a

8 files changed

Lines changed: 26 additions & 11 deletions

File tree

‎__pycache__/vesnice.cpython-39.pyc‎

1.72 KB
Binary file not shown.

‎barevnyornament.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from turtle import exitonclick, bgcolor, title, colormode
44
import turtle
5-
from random import randint
65

76

87
def cara(t, strana, barva):

‎crazyvilllage.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from turtle import exitonclick, bgcolor, title, colormode
44
import turtle
5-
from random import randint
65

76
# ze souboru vesnice je potřeba funkce domecek
87
from vesnice import *

‎dlazdice.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# nakreslí vesnici pomocí knihovny turtle
22

3-
from turtle import exitonclick, bgcolor, screensize, title, colormode
3+
from turtle import exitonclick, bgcolor, title, colormode
44
import turtle
5-
from random import randint, randrange
6-
import math
5+
from random import randint
76

87

98
def dlazdice(t, strana, barva):

‎doc/LICENSE.txt‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [2024] [hrosicka]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎fialovyornament.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# nakreslí vesnici pomocí knihovny turtle
22

3-
from turtle import exitonclick, bgcolor, screensize, title, colormode
3+
from turtle import exitonclick, bgcolor, title, colormode
44
import turtle
55
from random import randint
66

‎modrozelenyornament.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# nakreslí vesnici pomocí knihovny turtle
22

3-
from turtle import exitonclick, bgcolor, screensize, title, colormode
3+
from turtle import exitonclick, bgcolor, title, colormode
44
import turtle
55
from random import randint
6-
import math
76

87

98
def cara(t, strana, barva):

‎sinewaves.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# nakreslí vesnici pomocí knihovny turtle
22

3-
from turtle import exitonclick, bgcolor, title, colormode
3+
from turtle import exitonclick, bgcolor, title
44
import turtle
5-
from random import randint
65
import math
7-
import turtle
86

97
bgcolor("lightblue")
108
title("Sine Waves")

0 commit comments

Comments
 (0)