-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
it shows runtime error when the file includes {include-group="xxx"}
with open("pyproject.toml", "r", encoding="utf-8") as f:
# raise error if {include-group="pre-commit"} is present in pyproject.toml, because toml library does not support it.
data = toml.load(f)[project]
name="Vendor"
version="1.0.449"
requires-python=">=3.13"
description = "Dealer Remake Project using Flask-Admin"
readme = "README.md"
authors = [{ name = "Eng. Sami Alfattany", email = "alfattanysa@rayafinancing.com"}]
dependencies = [
"flask>=3.1",
"Flask-WTF>=1.2",
"requests>=2.32",
"flask-babel>=4.0",
"cryptography>=46.0",
"waitress>=3.0",
"dotenv>=0.9",
"flask-bcrypt>=1.0",
"flask-sqlalchemy>=3.1",
"toml>=0.10",
[dependency-groups]
dev = [
"pyyaml>=6.0.3",
"pytest>=7.2",
"selenium>=4.38",
{include-group="pre-commit"}
]
pre-commit = [
"pre-commit",
"pre-commit-uv",
]toml version: toml 0.10.2 is used
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels