feat: add lint isort

This commit is contained in:
flandre 2025-06-10 20:33:00 +08:00
parent d11a99e86e
commit d66626a441

View File

@ -27,19 +27,23 @@ dependencies = [
"websockets>=15.0.1", "websockets>=15.0.1",
] ]
[tool.setuptools] # configuration specific to the `setuptools` build backend. [tool.setuptools] # configuration specific to the `setuptools` build backend.
packages = { find = { where = ["."], include = ["flandre", "flandre.*"] } } packages = { find = { where = ["."], include = ["flandre", "flandre.*"] } }
package-data = { "flandre.assets" = ["*.svg", "*.png"], "flandre.pyqt" = ["*.ui"] } package-data = { "flandre.assets" = [
"*.svg",
"*.png",
], "flandre.pyqt" = [
"*.ui",
] }
[dependency-groups] [dependency-groups]
dev = [ dev = ["ruff>=0.11.13"]
"ruff>=0.11.13",
]
[project.scripts] [project.scripts]
flandre = "flandre.launcher:entrypoint" flandre = "flandre.launcher:entrypoint"
[project.optional-dependencies] [project.optional-dependencies]
to = [ to = ["nvidia-nvimgcodec-cu12>=0.5.0.13"]
"nvidia-nvimgcodec-cu12>=0.5.0.13",
] [tool.ruff.lint]
extend-select = ["I"]