We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b248362 commit fde096aCopy full SHA for fde096a
.pre-commit-config.yaml
@@ -12,7 +12,6 @@ repos:
12
- id: debug-statements
13
- id: end-of-file-fixer
14
- id: fix-byte-order-marker
15
- - id: forbid-new-submodules
16
- id: mixed-line-ending
17
- id: no-commit-to-branch
18
args: [--branch, main]
tests/test_execute.py
@@ -81,7 +81,9 @@ def task_run_do_file():
81
tmp_path.joinpath("script.do").write_text(textwrap.dedent("1 + 1"))
82
83
# Hide Stata if available.
84
- monkeypatch.setattr("pytask_stata.config.shutil.which", lambda x: None)
+ monkeypatch.setattr(
85
+ "pytask_stata.config.shutil.which", lambda x: None # noqa: U100
86
+ )
87
88
session = main({"paths": tmp_path})
89
0 commit comments