Skip to content
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

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

[FIX] [WIP] NOT READY YEY #15

wants to merge 5 commits into from

Conversation

Remi-Gau
Copy link

No description provided.

run: |
python -m pip install --upgrade pip
pip install .[dev]
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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"]
Copy link
Author

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

Comment on lines +39 to +42
version-file = "src/loxlm/_version.py"

[tool.pytest.ini_options]
addopts = "-ra -vv"
[tool.hatch.build.targets.wheel]
packages = ["src/loxlm"]
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant