Skip to content

Commit 96cdae1

Browse files
authored
Update pyproject.toml
1 parent c9fcfaf commit 96cdae1

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2016-2026 PyThaiNLP Project
1+
# SPDX-FileCopyrightText: 2016-present PyThaiNLP Project
22
# SPDX-FileType: SOURCE
33
# SPDX-License-Identifier: Apache-2.0
44

@@ -312,6 +312,11 @@ include = [
312312
"README.md",
313313
]
314314

315+
[tool.bandit]
316+
# Skip tests that produce known false positives or are accepted risks.
317+
# B110: Try/Except/Pass. Accepted pattern in optional-dependency loading.
318+
skips = ["B110"]
319+
315320
[tool.bumpversion]
316321
current_version = "5.3.4"
317322
commit = true
@@ -498,12 +503,6 @@ module = [
498503
]
499504
ignore_missing_imports = true
500505

501-
[tool.bandit]
502-
# Skip tests that produce known false positives or are accepted risks.
503-
# B110: Try/Except/Pass. Accepted pattern in optional-dependency loading.
504-
# B105, B107, B202, B310, B311, B614: suppressed at each call site with # nosec comments.
505-
skips = ["B110"]
506-
507506
[tool.pylint.main]
508507
disable = [
509508
"import-error",

0 commit comments

Comments
 (0)