Skip to content

Commit 1c7a683

Browse files
committed
makefile for checks
1 parent e79d553 commit 1c7a683

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
objects = chat_with_retrieval/ data_science/ information_extraction/ monitoring_and_evaluation/ prompting/ question_answering/ search_engine/ software_development/ summarize/ webserver/ writing_assistant/
2+
3+
typecheck:
4+
mypy $(objects)
5+
6+
lint:
7+
flake8 --jobs 4 --statistics --show-source $(objects)
8+
# pylint --jobs 4 $(objects)
9+
black --target-version py36 --skip-string-normalization --check $(objects)
10+
11+

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ readme = "README.md"
99
repository = "https://github.com/benman1/generative_ai_with_langchain"
1010
keywords = ["llms", "langchain", "ai", "chatgpt", "gpt", "openai", "huggingface"]
1111

12+
[pylint.FORMAT]
13+
max-line-length = 120
14+
1215
[tool.poetry.dependencies]
1316
python = "^3.10"
1417
jupyter="^1.0.0"

0 commit comments

Comments
 (0)