Skip to content

Commit 7f7d706

Browse files
committed
sort config
1 parent 8f1d731 commit 7f7d706

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,16 +414,17 @@ basepython = "pypy3.11"
414414

415415
[tool.tox.env.ruff]
416416
basepython = "python"
417-
deps = "ruff"
418417
commands = [["ruff", "check", "pythainlp"], ["ruff", "format", "--check", "pythainlp"]]
418+
deps = "ruff"
419419
skip_install = true
420420

421421
# Mypy configuration
422422
[tool.mypy]
423423
check_untyped_defs = true
424-
disallow_untyped_defs = true
425424
disallow_incomplete_defs = true
425+
disallow_subclassing_any = true
426426
disallow_untyped_decorators = true
427+
disallow_untyped_defs = true
427428
pretty = true
428429
python_version = "3.9"
429430
show_column_numbers = true
@@ -437,9 +438,9 @@ strict_optional = true
437438
warn_no_return = true
438439
warn_redundant_casts = true
439440
warn_return_any = true
441+
warn_unreachable = true
440442
warn_unused_configs = true
441443
warn_unused_ignores = true
442-
warn_unreachable = true
443444

444445
# Ignore missing imports for optional dependencies
445446
[[tool.mypy.overrides]]

0 commit comments

Comments
 (0)