diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..b6690e0 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,8 @@ +name: Ruff +on: [push, pull_request] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 \ No newline at end of file diff --git a/tippisell_api/__init__.py b/tippisell_api/__init__.py index 7b90b90..738df94 100644 --- a/tippisell_api/__init__.py +++ b/tippisell_api/__init__.py @@ -1,3 +1,2 @@ -from tippisell_api.client import Client - -from . import exceptions +from tippisell_api.client import Client # noqa: F401 +from . import exceptions # noqa: F401 diff --git a/tippisell_api/client.py b/tippisell_api/client.py index 6fcdc7b..e811dc9 100644 --- a/tippisell_api/client.py +++ b/tippisell_api/client.py @@ -1,7 +1,9 @@ +import io import http import typing import aiohttp import decimal +import json from tippisell_api import exceptions, methods, models