Merge branch 'language-powershell' of https://github.com/WallucePinkham/pre-commit into language-powershell

This commit is contained in:
Walluce Pinkham 2022-04-13 09:35:13 +01:00
commit 156848e7a1
5 changed files with 5 additions and 3 deletions

View file

@ -11,6 +11,7 @@ get_default_version = helpers.basic_get_default_version
healthy = helpers.basic_healthy healthy = helpers.basic_healthy
install_environment = helpers.no_install install_environment = helpers.no_install
def run_hook( def run_hook(
hook: Hook, hook: Hook,
file_args: Sequence[str], file_args: Sequence[str],

View file

@ -5,7 +5,7 @@ import sys
LANGUAGES = [ LANGUAGES = [
'conda', 'coursier', 'dart', 'docker', 'docker_image', 'dotnet', 'fail', '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', 'ruby', 'rust', 'script', 'swift', 'system',
] ]
FIELDS = [ FIELDS = [

View file

@ -3,4 +3,4 @@
description: Test Powershell Project description: Test Powershell Project
entry: test-script.ps1 entry: test-script.ps1
language: powershell language: powershell
stages: [commit] stages: [commit]

View file

@ -1,2 +1,2 @@
Write-Output "Hello from Powershell" Write-Output "Hello from Powershell"
exit 0 exit 0

View file

@ -1163,6 +1163,7 @@ def test_local_lua_additional_dependencies(store):
assert b'Luacheck' in out assert b'Luacheck' in out
assert ret == 0 assert ret == 0
@pytest.mark.parametrize( @pytest.mark.parametrize(
'repo', 'repo',
( (