Build Forgejo-backed community prototype
This commit is contained in:
parent
797ae5ea35
commit
6671a01d26
16 changed files with 2485 additions and 293 deletions
|
|
@ -5,6 +5,8 @@ status=0
|
|||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
python_files=(
|
||||
"app.py"
|
||||
"auth.py"
|
||||
"calendar_feeds.py"
|
||||
"forgejo_client.py"
|
||||
"live_prototype.py"
|
||||
"settings.py"
|
||||
|
|
@ -43,7 +45,7 @@ run_check \
|
|||
uv run --with "deptry>=0.24.0,<1.0.0" \
|
||||
deptry . \
|
||||
--requirements-files requirements.txt \
|
||||
--known-first-party app,forgejo_client,live_prototype,settings \
|
||||
--known-first-party app,auth,calendar_feeds,forgejo_client,live_prototype,settings \
|
||||
--per-rule-ignores DEP002=uvicorn \
|
||||
--extend-exclude ".*/frontend/.*" \
|
||||
--extend-exclude ".*/\\.venv/.*" \
|
||||
|
|
@ -51,7 +53,7 @@ run_check \
|
|||
run_check \
|
||||
"Vulture" \
|
||||
uv run --with "vulture>=2.15,<3.0.0" \
|
||||
vulture app.py forgejo_client.py live_prototype.py settings.py tests --min-confidence 80
|
||||
vulture app.py auth.py calendar_feeds.py forgejo_client.py live_prototype.py settings.py tests --min-confidence 80
|
||||
run_check \
|
||||
"Backend Tests" \
|
||||
"${python_cmd[@]}" -m unittest discover -s tests -p "test_*.py"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue