Skip to content

Commit 24c05aa

Browse files
style: format with black
1 parent 8a26b3e commit 24c05aa

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ dependencies = []
1717

1818
[project.optional-dependencies]
1919
test = [
20+
"black==25.1.0",
2021
"build==1.2.2.post1",
2122
"twine==6.1.0",
2223
]
2324

2425
[project.urls]
2526
Homepage = "https://github.com/remarkablemark/python_package_template"
2627
Issues = "https://github.com/remarkablemark/python_package_template/issues"
28+
29+
[tool.black]
30+
fast = true

src/python_package_template/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def hello(name: str="World") -> str:
1+
def hello(name: str = "World") -> str:
22
"""
33
Greet a name.
44

0 commit comments

Comments
 (0)