mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Better project structure
This commit is contained in:
parent
f31f092f9b
commit
1746a97e24
52 changed files with 221 additions and 189 deletions
|
|
@ -81,12 +81,12 @@ def _make_config(path, hook_id, file_regex):
|
|||
|
||||
@pytest.yield_fixture
|
||||
def config_for_node_hooks_repo(node_hooks_repo):
|
||||
yield _make_config(node_hooks_repo, 'foo', '\.js$')
|
||||
yield _make_config(node_hooks_repo, 'foo', '\\.js$')
|
||||
|
||||
|
||||
@pytest.yield_fixture
|
||||
def config_for_python_hooks_repo(python_hooks_repo):
|
||||
yield _make_config(python_hooks_repo, 'foo', '\.py$')
|
||||
yield _make_config(python_hooks_repo, 'foo', '\\.py$')
|
||||
|
||||
|
||||
@pytest.yield_fixture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue