Skip to content

feat(tokens): add support #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3.11",
"name": "Python 3.13",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"image": "mcr.microsoft.com/devcontainers/python:3.13",
"features": {
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3.6 For development",
"name": "Python 3.6 For Legacy Testing",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"dockerfile": "Dockerfile"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3.7",
"name": "Python 3.9 for development",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:3.7",
"image": "mcr.microsoft.com/devcontainers/python:3.9",
"features": {
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
},
Expand All @@ -28,7 +28,8 @@
"ms-python.debugpy",
"ms-python.black-formatter",
"ms-python.isort",
"ms-toolsai.jupyter"
"ms-toolsai.jupyter",
"eamodio.gitlens"
]
}
}
Expand Down
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ SQLITE_CONNECTION_STRING=sqlitecloud://myhost.sqlite.cloud
SQLITE_USER=admin
SQLITE_PASSWORD=
SQLITE_API_KEY=
SQLITE_ACCESS_TOKEN=
SQLITE_HOST=myhost.sqlite.cloud
SQLITE_DB=chinook.sqlite
SQLITE_PORT=8860
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
# last supported for sqlitecloud, last security maintained, last release
python-version: ["3.9", "3.10", "3.12"]
python-version: ["3.9", "3.10", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -36,6 +36,7 @@ jobs:
SQLITE_USER: ${{ secrets.SQLITE_USER }}
SQLITE_PASSWORD: ${{ secrets.SQLITE_PASSWORD }}
SQLITE_API_KEY: ${{ secrets.SQLITE_API_KEY }}
SQLITE_ACCESS_TOKEN: ${{ secrets.SQLITE_ACCESS_TOKEN }}
SQLITE_HOST: ${{ vars.SQLITE_HOST }}
SQLITE_DB: ${{ vars.SQLITE_DB }}
SQLITE_PORT: ${{ vars.SQLITE_PORT }}
Expand Down
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: '\.md$'
Expand All @@ -12,21 +12,21 @@ repos:
- id: check-merge-conflict
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 6.0.1
hooks:
- id: isort
name: isort
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 22.8.0
rev: 25.1.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.6
language_version: python3.9
- repo: https://github.com/PyCQA/autoflake
rev: v1.4
rev: v2.3.1
hooks:
- id: autoflake
name: autoflake
Expand All @@ -37,11 +37,10 @@ repos:
- "--remove-unused-variables"
- "--remove-all-unused-imports"
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 7.2.0
hooks:
- id: flake8
name: flake8
# stages: [push]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.1
hooks:
Expand Down
Loading