Skip to content

Commit 7ff0848

Browse files
fix: add google to DEP001 ignore list for Deptry
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
1 parent 7a66a1c commit 7ff0848

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ types-cachetools = "^5.5.0.20240820"
111111
deptry = "^0.23.0"
112112

113113
[tool.poetry.extras]
114+
dev = ["google-cloud-secret-manager"]
114115
file-based = ["avro", "fastavro", "pyarrow", "unstructured", "pdf2image", "pdfminer.six", "unstructured.pytesseract", "pytesseract", "markdown", "python-calamine", "python-snappy"]
115116
vector-db-based = ["langchain", "openai", "cohere", "tiktoken"]
116117
sql = ["sqlalchemy"]
@@ -222,7 +223,8 @@ exclude = [
222223
# https://deptry.com/rules-violations/#missing-dependencies-dep001
223224
DEP001 = [
224225
# These are imported but not declared:
225-
"source_declarative_manifest" # Imported only in dynamic import tests, not in main code
226+
"source_declarative_manifest", # Imported only in dynamic import tests, not in main code
227+
"google" # Imported via google.cloud.secretmanager_v1 which is provided by google-cloud-secret-manager
226228
]
227229

228230
# DEP002: Project should not contain unused dependencies.

0 commit comments

Comments
 (0)