Skip to content

Commit aad889a

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

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
@@ -75,6 +75,7 @@ exclude = [
7575
"site-packages",
7676
"venv",
7777
"pb2",
78+
"docs",
7879
]
7980

8081
# Same as Black.
@@ -133,3 +134,4 @@ disallow_untyped_defs = true # 関数定義の引数/戻り値に型アノテ
133134
no_implicit_optional = true # デフォルト引数に None を取る場合型アノテーションに Optional 必須
134135
check_untyped_defs = true # 型注釈がない関数やメソッドに対して型チェックを行う
135136
warn_redundant_casts = true # 冗長なキャストに警告
137+
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)