Skip to content

Commit 200b5ce

Browse files
authored
Merge pull request #80 from pytest-dev/fix-pre-commit-error/1/dev
Fix pre-commit errors
2 parents 6782a31 + 0ce2310 commit 200b5ce

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ repos:
4646
rev: v1.6.25
4747
hooks:
4848
- id: actionlint-docker
49+
50+
ci:
51+
skip:
52+
- actionlint-docker

pytest_localserver/https.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,12 @@ def __init__(self, host="localhost", port=0, key=DEFAULT_KEY, cert=DEFAULT_CERTI
126126
def certificate(self):
127127
"""
128128
Returns the path to the server's SSL/TLS certificate file.
129-
Clients can use this path to access and verify the server's identity by incorporating the certificate.
129+
Clients can use this path to access and verify the server's identity by
130+
incorporating the certificate.
130131
131-
Note: Do not rely on having a stable filesystem path for the returned certificate path across different versions or test runs.
132+
.. note::
133+
Do not rely on having a stable filesystem path for the returned
134+
certificate path across different versions or test runs.
132135
"""
133136
return self._cert
134137

0 commit comments

Comments
 (0)