Skip to content

Commit fde096a

Browse files
committed
Fix checks.
1 parent b248362 commit fde096a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ repos:
1212
- id: debug-statements
1313
- id: end-of-file-fixer
1414
- id: fix-byte-order-marker
15-
- id: forbid-new-submodules
1615
- id: mixed-line-ending
1716
- id: no-commit-to-branch
1817
args: [--branch, main]

tests/test_execute.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ def task_run_do_file():
8181
tmp_path.joinpath("script.do").write_text(textwrap.dedent("1 + 1"))
8282

8383
# Hide Stata if available.
84-
monkeypatch.setattr("pytask_stata.config.shutil.which", lambda x: None)
84+
monkeypatch.setattr(
85+
"pytask_stata.config.shutil.which", lambda x: None # noqa: U100
86+
)
8587

8688
session = main({"paths": tmp_path})
8789

0 commit comments

Comments
 (0)