Skip to content

Commit f5349d7

Browse files
authored
chore: update repo files (#6)
1 parent 50bb7ce commit f5349d7

File tree

9 files changed

+12
-131
lines changed

9 files changed

+12
-131
lines changed

.github/.Owlbot.lock.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/.Owlbot.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/auto-approve.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/sync-repo-settings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ branchProtectionRules:
2626
isAdminEnforced: true
2727
requiredStatusCheckContexts:
2828
- "cla/google"
29+
- "lint"
30+
- "integration-test-pr (langchain-spanner-testing)"
31+
- "conventionalcommits.org"
32+
- "header-check"
2933
# - Add required status checks like presubmit tests
3034
requiredApprovingReviewCount: 1
3135
requiresCodeOwnerReviews: true

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
python-version: "3.11"
4444

4545
- name: Install requirements
46-
run: pip install .[test]
46+
run: pip install -e .[test]
4747

4848
- name: Run linters
4949
run: |
5050
black --check .
5151
isort --check .
5252
5353
- name: Run type-check
54-
run: mypy .
54+
run: mypy --install-types --non-interactive .

MANIFEST.in

Lines changed: 0 additions & 25 deletions
This file was deleted.

owlbot.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,23 @@ Changelog = "https://github.com/googleapis/langchain-google-spanner-python/blob/
1818

1919
[project.optional-dependencies]
2020
test = [
21-
"black==23.12.0",
21+
"black[jupyter]==23.12.0",
2222
"isort==5.13.2",
2323
"mypy==1.7.1",
24-
"pytest-asyncio==0.23.0",
2524
"pytest==7.4.4",
26-
"types-google-cloud-ndb==2.2.0.20240106"
25+
"pytest-asyncio==0.23.0",
2726
]
2827

2928
[build-system]
3029
requires = ["setuptools"]
3130
build-backend = "setuptools.build_meta"
3231

32+
[tool.black]
33+
target-version = ['py38']
34+
3335
[tool.isort]
3436
profile = "black"
3537

3638
[tool.mypy]
37-
python_version = "3.11"
39+
python_version = 3.8
3840
warn_unused_configs = true
39-
exclude = [
40-
"owlbot.py"
41-
]

setup.cfg

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)