Skip to content

Commit 11848de

Browse files
authored
Fixing .editorconfig and formatting (#38)
1 parent 86464af commit 11848de

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ end_of_line = lf
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

12-
[*.python]
12+
[*.py]
1313
indent_style = space
14-
tab_width = 4
14+
indent_size = 4
1515
max_line_length = 120
1616

17-
[CODEOWNERS]
17+
[{CODEOWNERS,Makefile}]
1818
indent_style = tab

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Aspose.BarCode Cloud SDK for Python
22

3-
| WARNING: **Update SDK to version >= 21.9.0**: All SDK version < 21.9.0 will stop working soon! |
4-
| ---------------------------------------------------------------------------------------------- |
5-
63
[![License](https://img.shields.io/github/license/aspose-barcode-cloud/aspose-barcode-cloud-python)](LICENSE)
74
[![Python package](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-python/actions/workflows/python-package.yml/badge.svg)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-python/actions/workflows/python-package.yml)
85
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)

aspose_barcode_cloud/api_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
8282
# Use the pool property to lazily initialize the ThreadPool.
8383
self._pool = None
8484
self.rest_client = rest.RESTClientObject(configuration)
85-
self.default_headers = {"x-aspose-client": "python sdk", "x-aspose-client-version": "22.7.0"}
85+
self.default_headers = {
86+
"x-aspose-client": "python sdk",
87+
"x-aspose-client-version": "22.7.0",
88+
}
8689
if header_name is not None:
8790
self.default_headers[header_name] = header_value
8891
self.cookie = cookie

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def auth_settings(self):
272272
:return: The Auth Settings information dict.
273273
"""
274274
return {
275-
"JWT": {"type": "oauth2", "in": "header", "key": "Authorization", "value": "Bearer " + self.access_token}
275+
"JWT": {"type": "oauth2", "in": "header", "key": "Authorization", "value": "Bearer " + self.access_token},
276276
}
277277

278278
def to_debug_report(self):

0 commit comments

Comments
 (0)