Skip to content

Commit 013b26d

Browse files
authored
Merge pull request #18 from KhushbooMer/tox-fix
added supported version of python for test environment
2 parents ba38bb8 + 7bf2c5a commit 013b26d

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python: [3.7, 3.8]
10+
python: [3.6, 3.7, 3.8, 3.9, 3.10]
1111

1212
steps:
1313
- uses: actions/checkout@v1

imagekitio/models/results/UploadFileResult.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def __init__(
2626
embedded_metadata: EmbeddedMetadata = EmbeddedMetadata(None, None, None, None),
2727
extension_status: dict = None,
2828
file_type: str = None,
29+
orientation: int = None
2930
):
3031
self.file_id = file_id
3132
self.name = name
@@ -60,6 +61,7 @@ def __init__(
6061
)
6162
self.extension_status = extension_status
6263
self.file_type = file_type
64+
self.orientation = orientation
6365
self.__response_metadata: ResponseMetadata = ResponseMetadata("", "", "")
6466

6567
@property

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="imagekitio",
11-
version="3.0.1",
11+
version="3.0.0",
1212
description="Python wrapper for the ImageKit API",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
2-
envlist = py38
2+
envlist = py36, py37, py38, py39, py310
33
skipsdist = True
44

55
[testenv]
66
passenv = *
77
deps = -rrequirements/test.txt
88
commands =
99
coverage run --append -m unittest discover tests
10-
coverage report
10+
coverage report

0 commit comments

Comments
 (0)