Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit a3973d0

Browse files
committed
Merge conflicts
2 parents 5a45376 + 1f23905 commit a3973d0

File tree

17 files changed

+536
-27
lines changed

17 files changed

+536
-27
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[flake8]
22
max-line-length=100
3-
application_import_names=projectt
3+
application_import_names=src
44
ignore=P102,B311,W503,E226,S311,W504,F821
55
exclude=__pycache__, venv, .venv, tests
66
import-order-style=pycharm

Pipfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ pytest = "*"
99

1010
[packages]
1111
more-itertools = "*"
12+
pillow = "*"
13+
pygame = "*"
14+
aiohttp = "*"
1215

1316
[requires]
1417
python_version = "3.7"

Pipfile.lock

Lines changed: 176 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__main__.py

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,4 @@
1-
import tkinter as tk
1+
from .mainwindow import Tinder
22

3-
from .animate import Motion, Animater, Coord, Direction
4-
5-
root = tk.Tk()
6-
7-
window = Animater(root)
8-
window.pack()
9-
10-
c1 = Coord(50, 55)
11-
c2 = Coord(60, 65)
12-
rect = window.create_rectangle(c1, c2)
13-
14-
end = c1 + Direction.RIGHT * 50
15-
end2 = end + Direction.DOWN * 50
16-
end3 = end2 + (Direction.UP + Direction.LEFT) * 50
17-
18-
animation = Motion(window, rect, (end, end2, end3), speed=1)
19-
20-
window.add_motion(animation)
21-
window.add_event('<B1-Motion>')
22-
23-
root.mainloop()
3+
if __name__ == "__main__":
4+
Tinder().start()

0 commit comments

Comments
 (0)