Skip to content

Commit 41ea609

Browse files
Update egress rules in CI
1 parent bfd65d5 commit 41ea609

File tree

8 files changed

+9
-21
lines changed

8 files changed

+9
-21
lines changed

.github/workflows/_build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
github.com:443
3838
objects.githubusercontent.com:443
3939
pypi.org:443
40+
release-assets.githubusercontent.com:443
4041
4142
- name: Checkout repository
4243
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

examples/futures_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.

examples/futures_trading_bot_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.

examples/futures_ws_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.

examples/spot_examples.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.
@@ -14,12 +14,11 @@
1414
"""
1515

1616
import logging
17-
import logging.config
1817
import os
1918
import time
2019
from pathlib import Path
2120

22-
from kraken.spot import Earn, Funding, Market, Trade, User
21+
from kraken.spot import Funding, Market, Trade, User
2322

2423
logging.basicConfig(
2524
format="%(asctime)s %(module)s,line: %(lineno)d %(levelname)8s | %(message)s",
@@ -187,22 +186,11 @@ def funding_examples() -> None:
187186
)
188187

189188

190-
def earn_examples() -> None:
191-
"""
192-
Example usage of the Funding client; not shown, since special API key
193-
permissions must be set.
194-
"""
195-
earn = Earn(key=key, secret=secret) # noqa: F841
196-
# ...
197-
# see tests/spot/test_spot_earn.py for examples.
198-
199-
200189
def main() -> None:
201190
user_examples()
202191
market_examples()
203192
trade_examples()
204193
funding_examples()
205-
earn_examples()
206194

207195

208196
if __name__ == "__main__":

examples/spot_orderbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.

examples/spot_trading_bot_template.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.
@@ -16,7 +16,6 @@
1616

1717
import asyncio
1818
import logging
19-
import logging.config
2019
import os
2120
import sys
2221
import traceback

examples/spot_ws_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# -*- mode: python; coding: utf-8 -*-
21
# !/usr/bin/env python3
2+
# -*- mode: python; coding: utf-8 -*-
33
#
44
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
55
# All rights reserved.

0 commit comments

Comments
 (0)