Skip to content

Possible false errors #118

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

Open
580Gaming opened this issue Dec 18, 2024 · 1 comment
Open

Possible false errors #118

580Gaming opened this issue Dec 18, 2024 · 1 comment

Comments

@580Gaming
Copy link

I'm getting errors that as best I can tell aren't real errors.

The code.

import time
from tkinter import *

WorkTime = int(0)
BreakTime = int(0)
RunCycles = int(0)
IsWork = bool(True)

def StartButton():
while RunCycles > 0:
if IsWork == True:
time.sleep(WorkTime)
RunCycles -= 1
else:
time.sleep(BreakTime)

window = Tk()

entry = Entry(window, font = ("",20,""))
entry.pack(side = LEFT)
window.mainloop()

I'm using nvim with mason.
Screenshot 2024-12-17 170058

@devara-gheist
Copy link

hey I just posted an issue #124 (comment) on this false errors topic.
In your script did you try do the type check using Mypy? Does it pass? In mine it did, there's no problem.

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

No branches or pull requests

2 participants