Skip to content

Commit 164d14f

Browse files
committed
feat: adding a scripts property to the pyproject.toml file to allow the user to use language_tool_python as a command line tool, without python -m
1 parent ecaabec commit 164d14f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev = [
2525
"pytest-runner"
2626
]
2727

28+
[project.scripts]
29+
language_tool_python = "language_tool_python.__main__:main"
30+
2831
[build-system]
2932
requires = ["setuptools>=61.0", "wheel"]
3033
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)