Skip to content

Commit

Permalink
Merge pull request #2 from Neoxelox/fix/ci-cd
Browse files Browse the repository at this point in the history
Fix CI & CD
  • Loading branch information
neoxelox authored Feb 7, 2024
2 parents 58c006f + 3041af7 commit e912cb1
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Setup Scripts 🧩
run: |
poetry install
inv env.switch ci
inv tool.install ci-int --yes
poetry run inv env.switch ci
poetry run inv tool.install ci-int --yes
- name: Lint 🪶
run: inv lint
run: poetry run inv lint

- name: Test 🧪
run: inv test
run: poetry run inv test
8 changes: 4 additions & 4 deletions .github/workflows/publication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- name: Setup Scripts 🧩
run: |
poetry install
inv env.switch ci
inv tool.install ci-dep --yes
poetry run inv env.switch ci
poetry run inv tool.install ci-dep --yes
- name: Build 🏗️
run: inv build
run: poetry run inv build

- name: Publish 🚀
run: inv publish
run: poetry run inv publish
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# dspy-inspector
# dspy-inspector 🔍

DSPy program/pipeline inspector widget for Jupyter/VSCode Notebook.
**`DSPy program/pipeline inspector widget for Jupyter/VSCode Notebook.`** 🔭

## Install

👉 `pip install dspy-inspector`

## What

TODO: Explain

## Features

TODO: Explain

## Usage

TODO: Explain

## Developing

To setup the virtual environment, follow these steps:

1. Install dependencies: `poetry install`
2. Install tools `poetry run inv tool.install --include "dev*"`

Run `poetry run inv help` for further commands and `poetry run inv <command> --help` for their usage.

## Contribute

Feel free to contribute to this project : ) .

## License

This project is licensed under the [GPL-3.0 License](https://opensource.org/licenses/GPL-3) - read the [LICENSE](LICENSE) file for details.
5 changes: 5 additions & 0 deletions dspy_inspector/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_DSPY = "rocks"


def test_todo() -> None:
assert _DSPY == "rocks"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs = "auto"
exclude = ["**/__pycache__/*", "**/__init__.py"]

[tool.flakehell.plugins]
"flake8-black" = ["+*"]
"flake8-black" = ["+*", "-BLK999"]
"flake8-isort" = ["+*"]
mccabe = ["+*"]
pycodestyle = ["+*", "-W0621", "-E203", "-E1101", "-W503"]
Expand Down

0 comments on commit e912cb1

Please sign in to comment.