Skip to content

Commit 29ac7f0

Browse files
authored
Add docformatter. (#25)
1 parent e197932 commit 29ac7f0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ repos:
3838
rev: v1.20.1
3939
hooks:
4040
- id: setup-cfg-fmt
41+
- repo: https://github.com/myint/docformatter
42+
rev: v1.3.1
43+
hooks:
44+
- id: docformatter
45+
args: [--in-place, --wrap-summaries, "88", --wrap-descriptions, "88", --blank]
4146
- repo: https://github.com/psf/black
4247
rev: 22.3.0
4348
hooks:

src/pytask_stata/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run_stata_script(
2525
) -> None:
2626
"""Run an R script."""
2727
cmd = [executable, "-e", "do", script.as_posix(), *options, *log_name]
28-
print("Executing " + " ".join(cmd) + ".") # noqa: T001
28+
print("Executing " + " ".join(cmd) + ".") # noqa: T201
2929
subprocess.run(cmd, cwd=cwd, check=True)
3030

3131

0 commit comments

Comments
 (0)