File tree Expand file tree Collapse file tree
web-app-cosmosdb-nosql-api/python/src
web-app-custom-image/python/src
web-app-managed-identity/python/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Pre-commit Checks
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ pre-commit :
13+ name : Run pre-commit hooks
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repo
18+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+ with :
20+ persist-credentials : false
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
24+ with :
25+ python-version : ' 3.12'
26+ cache : ' pip'
27+
28+ - name : Install pre-commit
29+ run : pip install pre-commit
30+
31+ - name : Run pre-commit
32+ run : pre-commit run --all-files --show-diff-on-failure
Original file line number Diff line number Diff line change @@ -179,7 +179,10 @@ celerybeat.pid
179179* .sage.py
180180
181181# Environments
182+ # Local environment files may contain credentials
182183.env
184+ .env. *
185+ ! .env.example
183186.venv
184187env /
185188venv /
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/zizmorcore/zizmor-pre-commit
3+ rev : v1.25.2
4+ hooks :
5+ - id : zizmor
6+ exclude : ^\.github/workflows/run-samples\.yml$
7+
8+ - repo : https://github.com/gitleaks/gitleaks
9+ rev : v8.30.1
10+ hooks :
11+ - id : gitleaks
Original file line number Diff line number Diff line change 11-r requirements-runtime.txt
2+ pre-commit
23pytest
34pytest-xdist
45pytest-timeout
Original file line number Diff line number Diff line change 1- Flask == 3.1.0
1+ Flask == 3.1.3
22azure-mgmt-cosmosdb == 9.8.0
33azure-cosmos == 4.7.0
4- gunicorn == 20.1 .0
5- python-dotenv == 1.1.1
4+ gunicorn == 22.0 .0
5+ python-dotenv == 1.2.2
66setuptools == 79.0.1
Original file line number Diff line number Diff line change 1- Flask == 3.1.0
1+ Flask == 3.1.3
Original file line number Diff line number Diff line change 11Flask == 3.1.3
2- azure-identity == 1.12.0
2+ azure-identity == 1.16.1
33azure-storage-blob == 12.26.0
4- azure-core == 1.35 .0
4+ azure-core == 1.38 .0
55gunicorn == 23.0.0
6- python-dotenv == 1.1.1
6+ python-dotenv == 1.2.2
You can’t perform that action at this time.
0 commit comments