From 0eaacb88eecf0c38fa7086178eb8640e73643958 Mon Sep 17 00:00:00 2001 From: Don Garrett Date: Tue, 23 May 2023 13:32:47 -0500 Subject: [PATCH] Setup isort extention for import formatting. --- README.md | 4 ++-- app.py | 3 +-- dictionary.py | 1 - requirements.txt | Bin 312 -> 185 bytes wordle.code-workspace | 14 +++++++++++++- wordle.py | 4 ++-- 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bf64bf0..5f00f9a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ words not accepted by the official wordle app, and is probably missing words ava to the offical game. Setup virtual environment: - py -m vent .venv + py -m venv .venv .\.venv\Scripts\activate pip install -r requirements.txt @@ -18,4 +18,4 @@ Run flask web server: Notes: To enable python virtual environments, you first need to do: - Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser \ No newline at end of file + Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser diff --git a/app.py b/app.py index 1d8f3de..b499159 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,6 @@ #!/usr/bin/python -from flask import Flask -from flask import render_template +from flask import Flask, render_template import wordle diff --git a/dictionary.py b/dictionary.py index b557ddc..9b7df32 100644 --- a/dictionary.py +++ b/dictionary.py @@ -2,7 +2,6 @@ WORDLE_LENGTH = 5 - _invalid_words = set( [ "amala", diff --git a/requirements.txt b/requirements.txt index 3b91373b19f1803e79f2dd7cce4a02a872ed4ea3..86135ca01b994cc5787263f02c908f2660fe1f58 100644 GIT binary patch literal 185 zcmXwzyAH!35CnTZ<^{;iK0P}l0pal@anGxLX2syf8M=!cm2F`IrTDX zRe)4GR;-mG5NoN0&Z