Skip to content

Commit 3300a98

Browse files
committed
Updated pyproject with ruff line length option and mypy
1 parent e366464 commit 3300a98

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ dependencies = [
2222

2323

2424
[project.optional-dependencies]
25-
dev = ["ruff"]
25+
dev = ["ruff", "mypy"]
2626
test = ["pytest", "pytest-cov"]
2727

28+
[tool.ruff]
29+
line-length = 88
30+
2831
[tool.ruff.lint]
2932
preview = true # needed for "DOC" rules
3033
exclude = ["venv", "__pycache__", "__init__.py"]
@@ -38,6 +41,9 @@ convention = "google"
3841
[tool.pytest.ini_options]
3942
testpaths = ["tests"]
4043

44+
[tool.pylance]
45+
typeCheckingMode = "basic"
46+
4147
[tool.coverage.run]
4248
branch = true
4349
source = ["corgos_telegram_bot"]

0 commit comments

Comments
 (0)