Skip to content

Commit

Permalink
Ruff and mypy exclude docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arjbingly committed Apr 1, 2024
1 parent f78a34a commit 97b9f76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"sentence-transformers==2.2.2",
"instructorembedding>=1.0.1",
"streamlit>=1.31.1",
"unstructured>=0.12.3",
"unstructured[all]>=0.12.3",
"pdfplumber>=0.10.3",
"llama-cpp-python>=0.2.43",
"tqdm>=4.65.0",
Expand Down Expand Up @@ -112,7 +112,7 @@ exclude_lines = [
[tool.ruff]
line-length = 88
indent-width = 4
extend-exclude = ["tests", "others"]
extend-exclude = ["tests", "others", "docs"]

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "D"]
Expand All @@ -130,3 +130,4 @@ convention = "google"

[tool.mypy]
ignore_missing_imports = true
exclude = ['src/docs', 'docs', 'src/tests', 'tests']

0 comments on commit 97b9f76

Please sign in to comment.