Skip to content

Commit 277ff56

Browse files
committed
feat: update GitHub Actions workflow and configuration files to include documentation paths and adjust type checking settings
1 parent c881e79 commit 277ff56

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/document.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- develop
99
paths:
1010
- 'docs/**'
11+
pull_request:
12+
branches:
13+
- main
14+
- develop
15+
paths:
16+
- 'docs/**'
1117

1218
concurrency:
1319
group: 'pages'

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ exclude = [
7171
"site-packages",
7272
"venv",
7373
"pb2",
74+
"docs",
7475
]
7576

7677
# Same as Black.
@@ -129,3 +130,4 @@ disallow_untyped_defs = true # 関数定義の引数/戻り値に型アノテ
129130
no_implicit_optional = true # デフォルト引数に None を取る場合型アノテーションに Optional 必須
130131
check_untyped_defs = true # 型注釈がない関数やメソッドに対して型チェックを行う
131132
warn_redundant_casts = true # 冗長なキャストに警告
133+
exclude = ["docs/*"]

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"typeCheckingMode": "standard",
3-
"exclude": [".venv", ".git"]
3+
"include": ["adf_core_python"]
44
}

0 commit comments

Comments
 (0)