-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FIX] [WIP] NOT READY YEY #15
base: dev
Are you sure you want to change the base?
Conversation
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no dev in the pyproject.toml
@@ -30,13 +30,5 @@ jobs: | |||
- name: Install | |||
run: | | |||
python -m pip install --upgrade pip | |||
pip install -e .[tests] | |||
- name: Run tests and coverage | |||
run: make coverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no makefile in the repo
hooks: | ||
- id: auto-walrus | ||
# Sorts Python imports alphabetically and by section with `isort`. | ||
- repo: https://github.com/pycqa/isort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isort is more common than reorder-python-imports
may be less confusing for other pythonistas
|
||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt | ||
rev: 0.2.3 | ||
hooks: | ||
- id: yamlfmt | ||
args: [--mapping, '2', --sequence, '2', --offset, '0'] | ||
|
||
# Format TOML files | ||
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to keep your pyproject.toml organized
license = { file = "LICENSE.txt" } | ||
authors = [{ name = "James Randolph", email = "[email protected]" }] | ||
dynamic = ["version"] | ||
dependencies = ["langchain", "langchain_core", "langchain_community"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you were missing some dependencies that will be needed for testing
version-file = "src/loxlm/_version.py" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-ra -vv" | ||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/loxlm"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adapted some paths to match the packaging
@@ -2,30 +2,25 @@ | |||
|
|||
import json | |||
|
|||
from langchain.agents import AgentExecutor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some imports were never used
No description provided.