mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update pyproject.toml and vscode settings
This commit is contained in:
parent
b4fd02b910
commit
0443befd2f
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -49,7 +49,7 @@
|
|||||||
"evenBetterToml.formatter.inlineTableExpand": true,
|
"evenBetterToml.formatter.inlineTableExpand": true,
|
||||||
"evenBetterToml.formatter.reorderArrays": true,
|
"evenBetterToml.formatter.reorderArrays": true,
|
||||||
"evenBetterToml.formatter.reorderKeys": true,
|
"evenBetterToml.formatter.reorderKeys": true,
|
||||||
"evenBetterToml.formatter.compactEntries": true,
|
"evenBetterToml.formatter.compactEntries": false,
|
||||||
"evenBetterToml.schema.enabled": true,
|
"evenBetterToml.schema.enabled": true,
|
||||||
"isort.check": true,
|
"isort.check": true,
|
||||||
"isort.args": ["--profile=black", "--filter-files", "--color"],
|
"isort.args": ["--profile=black", "--filter-files", "--color"],
|
||||||
|
@ -99,7 +99,10 @@ requires-python=">=3.9, <3.11"
|
|||||||
"mkdocs-redirects==1.2.0",
|
"mkdocs-redirects==1.2.0",
|
||||||
]
|
]
|
||||||
"test" = ["pytest-cov", "pytest>6.0.0"]
|
"test" = ["pytest-cov", "pytest>6.0.0"]
|
||||||
"xformers"=["triton; sys_platform=='linux'", "xformers~=0.0.16; sys_platform!='darwin'"]
|
"xformers" = [
|
||||||
|
"triton; sys_platform=='linux'",
|
||||||
|
"xformers~=0.0.16; sys_platform!='darwin'",
|
||||||
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|
||||||
@ -144,27 +147,11 @@ version={attr="ldm.invoke.__version__"}
|
|||||||
"invokeai.frontend.dist" = ["**"]
|
"invokeai.frontend.dist" = ["**"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
exclude='''
|
|
||||||
/(
|
|
||||||
.git
|
|
||||||
| .tox
|
|
||||||
| .venv
|
|
||||||
| _build
|
|
||||||
| build
|
|
||||||
| dist
|
|
||||||
| node_modules
|
|
||||||
)/
|
|
||||||
'''
|
|
||||||
include='.pyi?$'
|
|
||||||
line-length = 88
|
line-length = 88
|
||||||
source=["installer", "invokeai/backend", "ldm/invoke"]
|
target-version = ['py310']
|
||||||
target-version=['py39']
|
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
profile = "black"
|
profile = "black"
|
||||||
py_version=39
|
|
||||||
skip_gitignore=true
|
|
||||||
skip_glob=["scripts/orig_scripts/*"]
|
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
branch = true
|
branch = true
|
||||||
|
Loading…
Reference in New Issue
Block a user