mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
405a904906
commit
213816a61f
2 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from pre_commit_hooks.string_fixer_for_jupyter_notebooks import main
|
||||
|
|
@ -10,6 +12,7 @@ TESTS = (
|
|||
('jupyter_case_2.ipynb', 'jupyter_case_2.ipynb', 0),
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(('input_file', 'output_file', 'expected_retv'), TESTS)
|
||||
def test_rewrite(input_file, output_file, expected_retv, tmpdir):
|
||||
with open(get_resource_path(input_file)) as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue