Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/.Owlbot.lock.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/.Owlbot.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/auto-approve.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ branchProtectionRules:
isAdminEnforced: true
requiredStatusCheckContexts:
- "cla/google"
- "lint"
- "integration-test-pr (langchain-spanner-testing)"
- "conventionalcommits.org"
- "header-check"
# - Add required status checks like presubmit tests
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
python-version: "3.11"

- name: Install requirements
run: pip install .[test]
run: pip install -e .[test]

- name: Run linters
run: |
black --check .
isort --check .

- name: Run type-check
run: mypy .
run: mypy --install-types --non-interactive .
25 changes: 0 additions & 25 deletions MANIFEST.in

This file was deleted.

40 changes: 0 additions & 40 deletions owlbot.py

This file was deleted.

13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,23 @@ Changelog = "https://github.com/googleapis/langchain-google-spanner-python/blob/

[project.optional-dependencies]
test = [
"black==23.12.0",
"black[jupyter]==23.12.0",
"isort==5.13.2",
"mypy==1.7.1",
"pytest-asyncio==0.23.0",
"pytest==7.4.4",
"types-google-cloud-ndb==2.2.0.20240106"
"pytest-asyncio==0.23.0",
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ['py38']

[tool.isort]
profile = "black"

[tool.mypy]
python_version = "3.11"
python_version = 3.8
warn_unused_configs = true
exclude = [
"owlbot.py"
]
19 changes: 0 additions & 19 deletions setup.cfg

This file was deleted.