Commit c1023b8
authored
Dev (#5)
* edits and test attempts
* flexing with tests
* refactor(tests): update private API tests and pytest config
- Refactor private API tests to use manual server/client creation
- Add proper cleanup with try/finally blocks
- Ensure server is closed after each test
- Set explicit asyncio_default_fixture_loop_scope in pytest config
The changes improve test isolation and follow the integration tests pattern.
Each test now creates its own server and client instances, making tests
more reliable and easier to debug. The pytest configuration update removes
deprecation warning by explicitly setting the event loop scope to "function".
* chore(lint): enable Ruff unsafe fixes
Enable unsafe fixes in Ruff configuration to allow automatic
fixing of docstring formatting and other similar issues.
This will help maintain consistent code style with less
manual intervention.
* remomve unused
* ruff check finished
* preparation for 1st release
* removed private client
removed multiexchange
changed config for pyright
* changes for pyright
* edits for starting stdio or sse
* claude desktop client not working for now
* update packages
* chore: update dependencies to latest versions
- Updated aiowhitebit from 0.2.3 to 0.2.4
- Updated fastmcp from 2.5.1 to 2.8.1
- Updated pydantic from ~2.11.5 to ~2.11.7
- Updated aiohttp from ~3.12.0 to ~3.12.13
- Updated setuptools from ~80.8.0 to ~80.9.0
- Updated pytest from ~8.3.5 to ~8.4.0
- Updated pytest-cov from 6.1.1 to 6.2.1
- Updated ruff from 0.11.11 to 0.11.13
- Updated pyright from 1.1.401 to 1.1.402
- Fixed docstring linting issue in server.py
- All tests passing (40/40)
- Version bump to 0.2.61 parent d95c094 commit c1023b8
File tree
7 files changed
+34
-37
lines changed- src/aiowhitebit_mcp
- tests
7 files changed
+34
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 84 | + | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments