11[defaults ]
22_extra_tasks = [
3+ # NOTE: also update no_cli below
34 " git init" , # required to run uv
45 " uv run just init" ,
56 " uv run just lint" ,
@@ -9,13 +10,11 @@ _extra_tasks = [
910 " uv sync --resolution highest" ,
1011 " just build-docs" ,
1112
12- " uvx --with sp-repo-review[cli] repo-review . --ignore PY007,RTD100 ,PC191 --show errskip" ,
13- # PY007 Supports an easy task runner (nox, tox, pixi, etc.)
13+ " uvx --with sp-repo-review[cli] repo-review . --ignore PY007,RTD ,PC191 --show errskip" ,
14+ # PY007 : Supports an easy task runner (nox, tox, pixi, etc.) : we use just
1415 " [ -f justfile ]" ,
15- # PC191 Ruff show fixes if fixes enabled
16- # good check, but false-positive on ruff-isort
17- # ## fix later:
18- # RTD100 Uses ReadTheDocs (pyproject config)
16+ # PC191 : Ruff show fixes if fixes enabled : false-positive on ruff-isort
17+ # RTD : ReadTheDocs : checked in the no_cli section
1918
2019 " uv tree --outdated --depth 1 --color always -q | grep latest --color=never || true" ,
2120]
@@ -32,12 +31,30 @@ get_package_version_from_vcs = false
3231has_cli = true
3332jupyter_files = " forbid"
3433format_tool = " black"
34+ in_rtd = false
3535
3636[output ." .ctt/no_cli" ]
3737has_cli = false
3838in_pypi = true
3939in_rtd = true
4040in_codecov = true
41+ _extra_tasks = [
42+ " git init" , # required to run uv
43+ " uv run just init" ,
44+ " uv run just lint" ,
45+ " uv run just test" ,
46+ " uv run pre-commit run --all-files" ,
47+ " uv sync --resolution lowest-direct; uv run --no-sync pytest" ,
48+ " uv sync --resolution highest" ,
49+ " just build-docs" ,
50+
51+ " uvx --with sp-repo-review[cli] repo-review . --ignore PY007,PC191 --show errskip" ,
52+ # PY007 : Supports an easy task runner (nox, tox, pixi, etc.) : we use just
53+ " [ -f justfile ]" ,
54+ # PC191 : Ruff show fixes if fixes enabled : false-positive on ruff-isort
55+
56+ " uv tree --outdated --depth 1 --color always -q | grep latest --color=never || true" ,
57+ ]
4158
4259[output ." .ctt/package_version_from_vcs" ]
4360get_package_version_from_vcs = true
0 commit comments