Setup isort extention for import formatting.

This commit is contained in:
dongar committed 2023-05-23 13:32:47 -05:00
1 parent f5d8347134
commit 0eaacb88ee
6 files changed
+18 -8

No files matched your search

+2 -2
View File
@@ -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
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
+1 -2
View File
@@ -1,7 +1,6 @@
#!/usr/bin/python
from flask import Flask
from flask import render_template
from flask import Flask, render_template
import wordle
-1
View File
@@ -2,7 +2,6 @@
WORDLE_LENGTH = 5
_invalid_words = set(
[
"amala",
BIN
View File
Binary file not shown.
+13 -1
View File
@@ -4,5 +4,17 @@
"path": "."
}
],
"settings": {}
"settings": {
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"isort.args": [
"--profile",
"black"
],
}
}
+2 -2
View File
@@ -2,11 +2,11 @@
import random
import string
from enum import Enum
from collections import defaultdict
from enum import Enum
import dictionary
import constraints
import dictionary
class LetterResult(Enum):