diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b26e6e6..5d2a3f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,5 +26,6 @@ jobs: pdm run task test pdm run coveralls --service=github env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} KRYPTO_TOKEN: ${{ secrets.KRYPTO_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/krypto/cli.py b/krypto/cli.py index 8d14b2b..9d008a4 100644 --- a/krypto/cli.py +++ b/krypto/cli.py @@ -26,8 +26,7 @@ def run(self, token: str) -> Tuple[List[str], List[str]]: @click.group() -def cli(): - ... +def cli(): ... @cli.command("run") diff --git a/krypto/config.py b/krypto/config.py index eaf76dd..e339951 100644 --- a/krypto/config.py +++ b/krypto/config.py @@ -1,8 +1,7 @@ import tomli -class PyProjectNotFound(Exception): - ... +class PyProjectNotFound(Exception): ... DEFAULTS = {"prefix": "TODO", "attach-issue": False} diff --git a/krypto/todo.py b/krypto/todo.py index 205e109..68a5327 100644 --- a/krypto/todo.py +++ b/krypto/todo.py @@ -13,8 +13,7 @@ # Will need to change the parser to deal with the new tokens -class TODOError(Exception): - ... +class TODOError(Exception): ... @dataclass