Setup isort extention for import formatting.
This commit is contained in:
1 parent
f5d8347134
commit
0eaacb88ee
6 files changed
+17
-7
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from flask import Flask
|
||||
from flask import render_template
|
||||
from flask import Flask, render_template
|
||||
|
||||
import wordle
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
WORDLE_LENGTH = 5
|
||||
|
||||
|
||||
_invalid_words = set(
|
||||
[
|
||||
"amala",
|
||||
|
||||
Binary file not shown.
+13
-1
@@ -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"
|
||||
],
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user