Open-Assistant
Open-Assistant copied to clipboard
Smoothing out dev setup process
- Rename devcontainers so they have a nice name in vscode ui
- Make the root devcontainer a generic container that includes backend and frontend development, plus the stuff for docs (if we're gonna fragment it like this there should be one for the bot too)
- Add devcontainers and remote code plugins as recommended extensions, so first time the user opens the project they're prompted to install them, then they're prompted to restart using devcontainers once the extensions are installed.
- Get rid of requirements-dev.txt in oasst-shared by using pyproject.toml, so we can do
pip install install ./oasst-shared[dev]to get dev deps. We should do this for the other packages too (I will if I get time) - Bump pydantic version so that we're using the same version in the library, backend and the bot
- Add pytest test discovery so the tests show up in the sidebar
- Add python debug and execution launch profiles so we can run and debug files inside or outside the devcontainers
- Add a couple of trivial tests for the backend, as an example of what needs to be done to start with code coverage
- A few fixes to the contract test stub script - make it quieter, make it fail when a step fails, make it wait a little longer to start
:x: pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md
:x: pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md
x pre-commit failed. Please run
pre-commit run --all-fileslocally and commit the changes. Find more information in the repository's CONTRIBUTING.md
Something funny going on here. git commit and pre-commit are acting differently, and fight over the files. Could be a devcontainers vs local issue.
:x: pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md