Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit aa9f051

Browse files
GH-9: Fix invalid script definition in pyproject.toml (#10)
* Fix invalid script definition in `pyproject.toml` (#9) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a02c4a8 commit aa9f051

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

autorefine/__main__.py

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
66
(C) 2023-present Bartosz Sławecki (bswck)
77
"""
8+
9+
10+
def main() -> None:
11+
pass

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = [{ include = "autorefine/" }]
1313
homepage = "https://github.com/bswck/autorefine"
1414

1515
[tool.poetry.scripts]
16-
autorefine = "autorefine"
16+
autorefine = "autorefine.__main__:main"
1717

1818
[tool.poetry.urls]
1919
Documentation = "https://autorefine.readthedocs.io/en/latest/"

0 commit comments

Comments
 (0)