Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jalexanderII committed Jan 31, 2024
1 parent c35be44 commit 164eb1e
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ OPENAI_API_KEY=<insert OpenAI API key here>
LANGCHAIN_TRACING_V2=true
LANGCHAIN_API_KEY=<insert Langsmith API key here>
LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
LANGCHAIN_PROJECT="rag-demo"
LANGCHAIN_PROJECT="rag-demo"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ cython_debug/
*.swp

.dccache
.DS_Store
.DS_Store
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[MESSAGES CONTROL]
disable=line-too-long,no-member,too-few-public-methods,missing-function-docstring,missing-module-docstring
disable=line-too-long,no-member,too-few-public-methods,missing-function-docstring,missing-module-docstring
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ formatting: codestyle
#* Linting
.PHONY: test
test:
PYTHONPATH=$(PYTHONPATH) poetry run pytest -s pyproject.toml --cov-report=html --cov=parea tests/
poetry run coverage-badge -o assets/images/coverage.svg -f
PYTHONPATH=$(PYTHONPATH) poetry run pytest -s

.PHONY: check-codestyle
check-codestyle:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ Ask the application different questions by changing the `message` field in the c
## Stop the server

fg [job no. of server]
Ctrl-C
Ctrl-C
30 changes: 29 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ lxml = "^5.1.0"
html2text = "^2020.1.16"
bs4 = "^0.0.2"
parea-ai = "^0.2.45"
isort = {extras = ["colors"], version = "^5.13.2"}
darglint = "^1.8.1"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 164eb1e

Please sign in to comment.