Skip to content

Commit 2efce53

Browse files
authored
Merge pull request #32 from solvedac/dev
Clean up project structure
2 parents 80e05f4 + 2f8275b commit 2efce53

File tree

9 files changed

+5
-566
lines changed

9 files changed

+5
-566
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

black.ps1

Lines changed: 0 additions & 1 deletion
This file was deleted.

poetry.lock

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

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ classifiers = [
2121

2222
[tool.poetry.dependencies]
2323
python = "^3.9"
24-
aiohttp = "^3.8.6"
2524

2625

2726
[build-system]

solvedac_community/__init__.py

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,7 @@
1111
Copyright (c) 2023 DevRuby
1212
"""
1313

14+
from . import HTTPClients
1415
from .client import Client
1516

16-
__all__ = ["Client"]
17-
18-
count = 0
19-
20-
try:
21-
import aiohttp
22-
23-
count += 1
24-
except ImportError:
25-
pass
26-
27-
try:
28-
import httpx
29-
30-
count += 1
31-
except ImportError:
32-
pass
33-
34-
if count == 0:
35-
raise ImportError(
36-
"\nAt least one of aiohttp or httpx libraries is required\nTry `pip install aiohttp` or `pip install httpx`"
37-
)
17+
__all__ = ["Client", "HTTPClients"]

test/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)