mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
ci: Format toml files
... using taplo with default settings I tried this with 4 spaces indentation, but the patch is almost as big as this one, so I went with default settings instead as that is just easier:-)
This commit is contained in:
parent
51f7834f56
commit
cd6f2e2cf2
65 changed files with 1050 additions and 462 deletions
|
@ -22,7 +22,13 @@ name = "stub-gen"
|
|||
path = "stub-gen/main.rs"
|
||||
|
||||
[features]
|
||||
default = ["backend-winit", "renderer-femtovg", "renderer-software", "backend-qt", "accessibility"]
|
||||
default = [
|
||||
"backend-winit",
|
||||
"renderer-femtovg",
|
||||
"renderer-software",
|
||||
"backend-qt",
|
||||
"accessibility",
|
||||
]
|
||||
# Keep in sync with features in nightly_snapshot.yaml, cpp_package.yaml, slint_tool_binary.yaml, and api/node/Cargo.toml
|
||||
# binaries: default = ["backend-linuxkms-noseat", "backend-winit", "renderer-femtovg", "renderer-skia", "accessibility"]
|
||||
|
||||
|
@ -43,9 +49,18 @@ accessibility = ["slint-interpreter/accessibility"]
|
|||
[dependencies]
|
||||
i-slint-backend-selector = { workspace = true }
|
||||
i-slint-core = { workspace = true }
|
||||
slint-interpreter = { workspace = true, features = ["default", "display-diagnostics", "internal"] }
|
||||
slint-interpreter = { workspace = true, features = [
|
||||
"default",
|
||||
"display-diagnostics",
|
||||
"internal",
|
||||
] }
|
||||
i-slint-compiler = { workspace = true }
|
||||
pyo3 = { version = "0.21.0", features = ["extension-module", "indexmap", "chrono", "abi3-py310"] }
|
||||
pyo3 = { version = "0.21.0", features = [
|
||||
"extension-module",
|
||||
"indexmap",
|
||||
"chrono",
|
||||
"abi3-py310",
|
||||
] }
|
||||
indexmap = { version = "2.1.0" }
|
||||
chrono = "0.4"
|
||||
spin_on = { workspace = true }
|
||||
|
|
|
@ -9,30 +9,26 @@ build-backend = "maturin"
|
|||
name = "slint"
|
||||
version = "1.11.0a1"
|
||||
requires-python = ">= 3.12"
|
||||
authors = [
|
||||
{name = "Slint Team", email = "info@slint.dev"},
|
||||
]
|
||||
authors = [{ name = "Slint Team", email = "info@slint.dev" }]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: MacOS X",
|
||||
"Environment :: X11 Applications",
|
||||
"Environment :: Win32 (MS Windows)",
|
||||
"Intended Audience :: Developers",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Rust",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"License :: Other/Proprietary License",
|
||||
"Topic :: Software Development",
|
||||
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
||||
"Topic :: Software Development :: User Interfaces",
|
||||
"Topic :: Software Development :: Widget Sets",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
]
|
||||
dependencies = [
|
||||
"maturin>=1.8.2",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: MacOS X",
|
||||
"Environment :: X11 Applications",
|
||||
"Environment :: Win32 (MS Windows)",
|
||||
"Intended Audience :: Developers",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Rust",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"License :: Other/Proprietary License",
|
||||
"Topic :: Software Development",
|
||||
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
||||
"Topic :: Software Development :: User Interfaces",
|
||||
"Topic :: Software Development :: Widget Sets",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
]
|
||||
dependencies = ["maturin>=1.8.2"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://slint.dev"
|
||||
|
@ -46,19 +42,23 @@ dev = ["pytest"]
|
|||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"mypy>=1.15.0",
|
||||
"nox>=2024.10.9",
|
||||
"pdoc>=15.0.1",
|
||||
"pytest>=8.3.4",
|
||||
"ruff>=0.9.6",
|
||||
"mypy>=1.15.0",
|
||||
"nox>=2024.10.9",
|
||||
"pdoc>=15.0.1",
|
||||
"pytest>=8.3.4",
|
||||
"ruff>=0.9.6",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
# Rebuild package when any rust files change
|
||||
cache-keys = [{file = "pyproject.toml"}, {file = "Cargo.toml"}, {file = "**/*.rs"}]
|
||||
cache-keys = [
|
||||
{ file = "pyproject.toml" },
|
||||
{ file = "Cargo.toml" },
|
||||
{ file = "**/*.rs" },
|
||||
]
|
||||
# Uncomment to build rust code in development mode
|
||||
# config-settings = { build-args = '--profile=dev' }
|
||||
|
||||
[tool.mypy]
|
||||
strict=true
|
||||
disallow_subclassing_any=false
|
||||
strict = true
|
||||
disallow_subclassing_any = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue