Skip to content

Commit b3fa168

Browse files
authored
Merge pull request #96 from viktorking7/master
Fix documentation formatting
2 parents e4c69b4 + d830cd1 commit b3fa168

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

python-bindings/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,19 @@ async def main():
8282
# Get collateral from Intel PCS (async)
8383
quote_data = open("quote.bin", "rb").read()
8484
collateral = await dcap_qvl.get_collateral_from_pcs(quote_data)
85-
85+
8686
# Or get collateral for specific FMSPC (async)
8787
collateral = await dcap_qvl.get_collateral_for_fmspc(
8888
pccs_url="https://api.trustedservices.intel.com",
8989
fmspc="B0C06F000000",
9090
ca="processor",
9191
is_sgx=True
9292
)
93-
93+
9494
# Verify quote with collateral
9595
result = dcap_qvl.verify(quote_data, collateral, timestamp)
9696
print(f"Status: {result.status}")
97-
97+
9898
# Or get collateral and verify in one step (async)
9999
result = await dcap_qvl.get_collateral_and_verify(quote_data)
100100
print(f"Advisory IDs: {result.advisory_ids}")
@@ -121,7 +121,7 @@ The Python bindings are built using:
121121
1. Add Rust implementation in `../src/python.rs`
122122
2. Update Python package in `python/dcap_qvl/__init__.py`
123123
3. Add tests in `tests/` directory (use appropriate test file)
124-
5. Update documentation in `docs/`
124+
4. Update documentation in `docs/`
125125

126126
### Testing
127127

@@ -142,4 +142,4 @@ The project includes comprehensive testing:
142142

143143
## License
144144

145-
MIT License - see [../LICENSE](../LICENSE) for details.
145+
MIT License - see [../LICENSE](../LICENSE) for details.

python-bindings/docs/PYTHON_TESTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ For CI/CD pipelines, you can use the testing scripts:
150150
- name: Test Python versions
151151
run: |
152152
./python-bindings/tests/test_python_versions.sh
153-
153+
154154
- name: Test async functions
155155
run: |
156156
cd python-bindings
@@ -203,7 +203,7 @@ The detailed Python script generates a JSON report (`python_version_test_report.
203203
## Best Practices
204204
205205
1. **Regular Testing**: Run version tests before releases
206-
2. **CI Integration**: Include version testing in your CI pipeline
206+
2. **CI Integration**: Include version testing in your CI pipeline
207207
3. **Report Review**: Check detailed reports for any warnings or partial failures
208208
4. **Environment Isolation**: Scripts use temporary environments to avoid conflicts
209-
5. **Timeout Handling**: Each version test has a 5-minute timeout to prevent hanging
209+
5. **Timeout Handling**: Each version test has a 5-minute timeout to prevent hanging

0 commit comments

Comments
 (0)