Skip to content

Commit 45e9646

Browse files
author
Helio Chissini de Castro
committed
Use Mixins for simplification
- Split Sw360Error in independent class - Split the main codebase in Mixins to reduce size of main source code This makes clearer and easier to update specific sw360 areas Signed-off-by: Helio Chissini de Castro <helio.chissini-de-castro@bmw.de>
1 parent c7b0867 commit 45e9646

13 files changed

Lines changed: 1692 additions & 1555 deletions

poetry.lock

Lines changed: 49 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ flake8 = ">=3.7.8"
3131
responses = "^0.12.1"
3232
pytest = "^6.1.2"
3333
coverage = "^5.3"
34+
types-requests = "^2.27.11"
3435

3536
[build-system]
3637
requires = ["poetry>=0.12"]

sw360/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99

1010
__version__ = (1, 2, 0)
1111

12-
from .sw360_api import SW360, SW360Error # noqa: F401
12+
from .sw360_api import SW360 # noqa: F401
13+
from .sw360error import SW360Error # noqa: F401

0 commit comments

Comments
 (0)