Experimental TUI powered by Trogon

* sqlite-utils tui command if Trogon is installed, closes #545
* Documentation for trogon TUI
* Screenshot of TUI
* Ignore trogon mypy error
* only run flake8 on Python 3.8 or higher, closes #550
This commit is contained in:
Simon Willison 2023-05-21 11:41:56 -07:00 committed by GitHub
commit 718b0cba9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 4 deletions

View file

@ -26,7 +26,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test]'
pip install -e '.[test,tui]'
- name: Run tests
run: |
pytest

View file

@ -28,7 +28,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test,mypy,flake8]'
pip install -e '.[test,mypy,flake8,tui]'
- name: Optionally install numpy
if: matrix.numpy == 1
run: pip install numpy
@ -44,7 +44,8 @@ jobs:
pytest -v
- name: run mypy
run: mypy sqlite_utils tests
- name: run flake8
- name: run flake8 if Python 3.8 or higher
if: matrix.python-version >= 3.8
run: flake8
- name: Check formatting
run: black . --check