mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 13:56:43 +08:00
build: restructure dependency groups and add watchdog
Split flat dev group into named groups (build, lint, test) so CI and production installs can pull only what they need. Add watchdog for the live-reload preview target. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,21 +3,21 @@ name = "awesome-python"
|
||||
version = "0.1.0"
|
||||
description = "An opinionated list of awesome Python frameworks, libraries, software and resources."
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"httpx==0.28.1",
|
||||
"jinja2==3.1.6",
|
||||
"markdown-it-py==4.0.0",
|
||||
]
|
||||
dependencies = []
|
||||
|
||||
[dependency-groups]
|
||||
build = ["httpx==0.28.1", "jinja2==3.1.6", "markdown-it-py==4.0.0"]
|
||||
lint = ["ruff==0.15.6"]
|
||||
test = ["pytest==9.0.2"]
|
||||
dev = [
|
||||
"pytest==9.0.2",
|
||||
"ruff==0.15.6",
|
||||
{ include-group = "build" },
|
||||
{ include-group = "lint" },
|
||||
{ include-group = "test" },
|
||||
"watchdog==6.0.0",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["website/tests"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
line-length = 100
|
||||
line-length = 200
|
||||
|
||||
Reference in New Issue
Block a user