mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-27 04:07:39 +00: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:
parent
266a6b6b6c
commit
74bba50785
2 changed files with 32 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue