diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecb6e46..b26e6e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: [push] jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout the repo uses: actions/checkout@v2 @@ -14,8 +14,8 @@ jobs: with: python-version: 3.11 - - name: Setup PDM - uses: actions/checkout@v4 + - name: Setup PDM uses: pdm-project/setup-pdm@v4 - name: Install dependencies diff --git a/.github/workflows/types.yml b/.github/workflows/types.yml index 753269f..58ad1b7 100644 --- a/.github/workflows/types.yml +++ b/.github/workflows/types.yml @@ -9,10 +9,10 @@ jobs: - name: Checkout the repo uses: actions/checkout@v2 - - name: Install python 3.7 + - name: Install python 3.11 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.11 - uses: actions/checkout@v4 - name: Setup PDM diff --git a/krypto/config.py b/krypto/config.py index e339951..eaf76dd 100644 --- a/krypto/config.py +++ b/krypto/config.py @@ -1,7 +1,8 @@ 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 68a5327..205e109 100644 --- a/krypto/todo.py +++ b/krypto/todo.py @@ -13,7 +13,8 @@ # Will need to change the parser to deal with the new tokens -class TODOError(Exception): ... +class TODOError(Exception): + ... @dataclass