mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Merge branch 'language-powershell' of https://github.com/WallucePinkham/pre-commit into language-powershell
This commit is contained in:
commit
156848e7a1
5 changed files with 5 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ get_default_version = helpers.basic_get_default_version
|
|||
healthy = helpers.basic_healthy
|
||||
install_environment = helpers.no_install
|
||||
|
||||
|
||||
def run_hook(
|
||||
hook: Hook,
|
||||
file_args: Sequence[str],
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import sys
|
|||
|
||||
LANGUAGES = [
|
||||
'conda', 'coursier', 'dart', 'docker', 'docker_image', 'dotnet', 'fail',
|
||||
'golang', 'lua', 'node', 'perl', 'powershell', 'pygrep', 'python', 'r',
|
||||
'golang', 'lua', 'node', 'perl', 'powershell', 'pygrep', 'python', 'r',
|
||||
'ruby', 'rust', 'script', 'swift', 'system',
|
||||
]
|
||||
FIELDS = [
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
description: Test Powershell Project
|
||||
entry: test-script.ps1
|
||||
language: powershell
|
||||
stages: [commit]
|
||||
stages: [commit]
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
Write-Output "Hello from Powershell"
|
||||
exit 0
|
||||
exit 0
|
||||
|
|
|
|||
|
|
@ -1163,6 +1163,7 @@ def test_local_lua_additional_dependencies(store):
|
|||
assert b'Luacheck' in out
|
||||
assert ret == 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'repo',
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue