Skip to content

Commit

Permalink
Merge pull request #80 from pytest-dev/fix-pre-commit-error/1/dev
Browse files Browse the repository at this point in the history
Fix pre-commit errors
  • Loading branch information
diazona committed Mar 22, 2024
2 parents 6782a31 + 0ce2310 commit 200b5ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ repos:
rev: v1.6.25
hooks:
- id: actionlint-docker

ci:
skip:
- actionlint-docker
7 changes: 5 additions & 2 deletions pytest_localserver/https.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,12 @@ def __init__(self, host="localhost", port=0, key=DEFAULT_KEY, cert=DEFAULT_CERTI
def certificate(self):
"""
Returns the path to the server's SSL/TLS certificate file.
Clients can use this path to access and verify the server's identity by incorporating the certificate.
Clients can use this path to access and verify the server's identity by
incorporating the certificate.
Note: Do not rely on having a stable filesystem path for the returned certificate path across different versions or test runs.
.. note::
Do not rely on having a stable filesystem path for the returned
certificate path across different versions or test runs.
"""
return self._cert

Expand Down

0 comments on commit 200b5ce

Please sign in to comment.