Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: ./.github/actions/setup-python-dev
- name: Security check
run: |
uv run bandit -r example/ -f json -o bandit-report.json || true
uv run bandit -r python_template_server/ -f json -o bandit-report.json || true
- uses: actions/upload-artifact@v4
with:
name: bandit-report
Expand Down
2 changes: 1 addition & 1 deletion docs/SMG.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ curl -k -H "X-API-Key: your-token-here" https://localhost:443/api/login
- **Format code:** `uv run ruff format .`
- **Type check:** `uv run mypy .`
- **Run tests:** `uv run pytest`
- **Security scan:** `uv run bandit -r example/`
- **Security scan:** `uv run bandit -r python_template_server/`
- **Audit dependencies:** `uv run pip-audit`
3 changes: 1 addition & 2 deletions docs/WORKFLOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ It consists of the following jobs:
### bandit
- Checkout code
- Setup Python environment with dev dependencies (via custom action)
- Run security scanning with bandit on `example/` directory
- Run security scanning with bandit on `python_template_server/` directory
- Generate JSON report for artifacts
- Fail if security vulnerabilities are found

Expand All @@ -55,7 +55,6 @@ It consists of the following jobs:
### build_wheel
- Checkout code
- Setup Python environment with dev dependencies (via custom action)
- Download frontend build artifact to `static/` directory
- Build wheel with `uv build`
- Inspect wheel contents for verification
- Upload wheel artifact (`python_template_server_wheel`)
Expand Down