File tree Expand file tree Collapse file tree 6 files changed +520
-2
lines changed
Expand file tree Collapse file tree 6 files changed +520
-2
lines changed Original file line number Diff line number Diff line change 1+ name : bandit
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " main*"
7+ push :
8+ branches :
9+ - " main"
10+
11+ jobs :
12+ bandit :
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
19+ - name : Install uv and sync dev dependencies
20+ run : |
21+ pip install uv
22+ uv venv
23+ echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
24+ echo "$PWD/.venv/bin" >> $GITHUB_PATH
25+ uv sync --dev
26+ - name : Run Bandit
27+ run : |
28+ bandit -r pdfbaker/
Original file line number Diff line number Diff line change 1+ name : OSSF Scorecard
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ scorecard :
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Run OSS Scorecard
17+ uses : ossf/scorecard-action@v2
18+ with :
19+ repo : ${{ github.repository }}
Original file line number Diff line number Diff line change 1+ name : pip-audit
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " main*"
7+ push :
8+ branches :
9+ - " main"
10+
11+ jobs :
12+ pip-audit :
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
19+ - name : Install uv and sync dev dependencies
20+ run : |
21+ pip install uv
22+ uv venv
23+ echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
24+ echo "$PWD/.venv/bin" >> $GITHUB_PATH
25+ uv sync --dev
26+ - name : Run pip-audit
27+ run : |
28+ pip-audit
Original file line number Diff line number Diff line change 55[ ![ Downloads] ( https://img.shields.io/pypi/dw/pdfbaker?color=blue )] ( https://pypistats.org/packages/pdfbaker )
66[ ![ tests] ( https://github.com/pythonnz/pdfbaker/actions/workflows/tests.yaml/badge.svg )] ( https://github.com/pythonnz/pdfbaker/actions/workflows/tests.yaml )
77[ ![ codecov] ( https://img.shields.io/codecov/c/github/pythonnz/pdfbaker )] ( https://codecov.io/gh/pythonnz/pdfbaker )
8+ [ ![ OSSF Scorecard] ( https://img.shields.io/ossf-scorecard/github.com/pythonnz/pdfbaker?label=OSSF%20Scorecard )] ( https://scorecard.dev/viewer/?uri=github.com/pythonnz/pdfbaker )
9+ [ ![ pip-audit] ( https://img.shields.io/github/actions/workflow/status/pythonnz/pdfbaker/pip-audit.yaml?label=pip-audit&logo=python )] ( https://github.com/pythonnz/pdfbaker/actions/workflows/pip-audit.yaml )
10+ [ ![ bandit] ( https://img.shields.io/github/actions/workflow/status/pythonnz/pdfbaker/bandit.yaml?label=bandit&logo=python )] ( https://github.com/pythonnz/pdfbaker/actions/workflows/bandit.yaml )
811[ ![ Last commit] ( https://img.shields.io/github/last-commit/pythonnz/pdfbaker?color=lightgrey )] ( https://github.com/pythonnz/pdfbaker/commits/main )
912[ ![ License] ( https://img.shields.io/github/license/pythonnz/pdfbaker?color=lightgrey )] ( https://github.com/pythonnz/pdfbaker/blob/main/LICENSE )
1013
Original file line number Diff line number Diff line change 11[project ]
22name = " pdfbaker"
3- version = " 0.5.2 "
3+ version = " 0.6.1 "
44description = " SVG Jinja templates + YAML config = PDF documents"
55authors = [
66 { name = " Danny W. Adair" , email = " danny.adair@unfold.nz" }
@@ -26,8 +26,13 @@ build-backend = "hatchling.build"
2626[tool .uv ]
2727managed = true
2828dev-dependencies = [
29+ # --- Testing
2930 " pytest" ,
3031 " pytest-cov" ,
32+
33+ # --- Security
34+ " pip-audit" ,
35+ " bandit"
3136]
3237
3338[tool .hatch .metadata ]
You can’t perform that action at this time.
0 commit comments