Skip to content

Commit 3930bac

Browse files
committed
chore: update linter configs
1 parent 5113d50 commit 3930bac

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

.flake8

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
[flake8]
2-
max-line-length = 120
2+
ignore=D205,D413,D400,D401
3+
max-line-length=120
4+
max-complexity=10
5+
exclude=venv
6+
extend-exclude="*__init__.py,*__version__.py,venv"
7+
select="C101"

.pylintrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[MASTER]
22
init-hook='import sys; print(sys.executable); print(sys.path)'
3-
ignore-paths =
4-
ignore =
5-
__version__.py
3+
ignore-paths=venv
4+
ignore=__version__.py
65

76
[FORMAT]
87
max-line-length=120

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
## [1.2.1](https://github.com/FullStackWithLawrence/openai-embeddings/compare/v1.2.0...v1.2.1) (2023-12-04)
22

3-
43
### Bug Fixes
54

6-
* force a new release ([e21f9c5](https://github.com/FullStackWithLawrence/openai-embeddings/commit/e21f9c56b6dc3be3320afb88a491b43fc04d365b))
5+
- force a new release ([e21f9c5](https://github.com/FullStackWithLawrence/openai-embeddings/commit/e21f9c56b6dc3be3320afb88a491b43fc04d365b))
76

87
# [1.2.0](https://github.com/lpm0073/hybrid-search-retriever/compare/v1.1.3...v1.2.0) (2023-12-03)
98

models/hybrid_search_retreiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# hybrid search capability
3535
from langchain.retrievers import PineconeHybridSearchRetriever
3636
from langchain.schema import BaseMessage, HumanMessage, SystemMessage
37-
from pinecone_text.sparse import BM25Encoder
37+
from pinecone_text.sparse import BM25Encoder # pylint: disable=import-error
3838

3939
# this project
4040
from models.const import Config, Credentials

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ exclude = '''
2525
)/
2626
'''
2727

28-
[tool.flake8]
29-
ignore = "D205,D413,D400,D401"
30-
max-line-length =120
31-
max-complexity = 10
32-
exclude = "venv"
33-
extend-exclude = "*__init__.py,*__version__.py,venv"
34-
select = "C101"
35-
3628
[tool.codespell]
3729
skip = '*.svg,models/prompt_templates.py'
3830
ignore-words = 'codespell.txt'

0 commit comments

Comments
 (0)