Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mclacore committed Jul 19, 2024
1 parent a38356b commit 61aa828
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
14 changes: 6 additions & 8 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
from tkinter import *
import sys
import os
from tkinter import Tk, Label, Button, Scale, Checkbutton, IntVar, HORIZONTAL
from menu import create_menu
from password import generate_password, copy_password, show_password, hide_password
from password import generate_password, copy_password, show_password

def restart_app():
root.destroy()
main()

def main():
global root, length, num_val, sym_val, gen_pass, show_pass
root = Tk()

def restart_app():
root.destroy()
main()

menubar = create_menu(root)
root.config(menu=menubar)

Expand Down
4 changes: 1 addition & 3 deletions menu.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from tkinter import *
from tkinter import messagebox
from tkinter import messagebox, Menu


def create_menu(root):
Expand All @@ -25,4 +24,3 @@ def create_help_bar(menubar):

def about():
messagebox.showinfo("About", "This is a simple password generator app written by @mclacore.")

2 changes: 1 addition & 1 deletion password.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from tkinter import *
from tkinter import Text, END
import string
import secrets
import pyperclip
Expand Down

0 comments on commit 61aa828

Please sign in to comment.