~loges/aita

chore: drop poetry in favor of pip-tools
test(nlp): fix broken test
chore: update dependencies to latest

Also bundled this up with a few other changes:
- use pip-tools to compile and pin dependencies
- upgrade pydantic to v2 (required refactoring)
chore: drop poetry dependency for API
chore: drop flake8 in pre-commit hook
style: remove whitespace after running linter
chore: do not fail on help if not installed
1fb5b052 — Logan Connolly 1 year, 11 months ago
chore(nlp): update to python 3.10
70a0f76a — Logan Connolly 1 year, 11 months ago
refactor(nlp): only use `/posts` for fetching
b2d6fdd3 — Logan Connolly 1 year, 11 months ago
refactor(nlp): make use of argparse subparsers
92d87bc5 — Logan Connolly 1 year, 11 months ago
chore(nlp): add CLI help to makefile
c010bf1f — Logan Connolly 1 year, 11 months ago
chore: update env vars docker-compose

In the start.sh for the API, we no longer use
DEBUG environment variable but rather ENV, which
is either debug, development or production.
3d377b35 — Logan Connolly 2 years ago
refactor(nlp): simplify path handling and run ids
04014fbc — Logan Connolly 2 years ago
refactor(nlp): dest arg is not needed for parsing
12ddd32a — Logan Connolly 2 years ago
chore(nlp): use gitignore over keep
0d882932 — Logan Connolly 2 years ago
refactor(nlp): add Command enum as source of truth
6d9434c7 — Logan Connolly 2 years ago
chore: simplify main make tests
68e782b1 — Logan Connolly 2 years ago
test(api): do not share state and rollback db
2e6d7065 — Logan Connolly 2 years ago
chore(api): add asgi-lifespan to dev dependencies

This is necessary for yielding the asgi app test client.
If the test client is not wrapped in this context manager,
then the startup and shutdown events will not be triggered.
552fdc2d — Logan Connolly 2 years ago
chore(ci): build and push images
Next