Skip to content

Commit

Permalink
Add ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
alteralt committed Sep 2, 2024
1 parent 9bb14d9 commit 3f28999
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions tippisell_api/__init__.py
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions tippisell_api/client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import io
import http
import typing
import aiohttp
import decimal
import json

from tippisell_api import exceptions, methods, models

Expand Down

0 comments on commit 3f28999

Please sign in to comment.