Skip to content

Commit edaae66

Browse files
authored
fix: Remove trailing spaces in README example code (#1475)
Ruff 0.16 has started Python formatting code blocks in README files - https://astral.sh/blog/ruff-v0.16.0#markdown-code-block-formatting Remove some trailing spaces to reduce the diff if users format the generated README.
1 parent 2216c15 commit edaae66

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

end_to_end_tests/docstrings-on-attributes-golden-record/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

end_to_end_tests/golden-record/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

end_to_end_tests/literal-enums-golden-record/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

end_to_end_tests/test-3-1-golden-record/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

integration-tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

openapi_python_client/templates/README.md.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, when you're calling an HTTPS API it will attempt to verify that SSL
4747

4848
```python
4949
client = AuthenticatedClient(
50-
base_url="https://internal_api.example.com",
50+
base_url="https://internal_api.example.com",
5151
token="SuperSecretToken",
5252
verify_ssl="/path/to/certificate_bundle.pem",
5353
)
@@ -57,7 +57,7 @@ You can also disable certificate validation altogether, but beware that **this i
5757

5858
```python
5959
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
60+
base_url="https://internal_api.example.com",
6161
token="SuperSecretToken",
6262
verify_ssl=False
6363
)

0 commit comments

Comments
 (0)