diff --git a/.editorconfig b/.editorconfig index c9e563c7..00c65a31 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,15 +1,15 @@ -root = true - -[*] -charset = utf-8 -end_of_line = crlf -indent_size = 4 -indent_style = space -insert_final_newline = true -trim_trailing_whitespace = true - -[[Mm]akefile{,.*}] -indent_style = tab - -[*.{yml,yaml}] -indent_size = 2 +root = true + +[*] +charset = utf-8 +end_of_line = crlf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[[Mm]akefile{,.*}] +indent_style = tab + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed404e14..80f7f51a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,9 @@ -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.1.0 - hooks: - - id: end-of-file-fixer - - id: trailing-whitespace - - - id: mixed-line-ending - args: [--fix=crlf] +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.1.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace + + - id: mixed-line-ending + args: [--fix=crlf] diff --git a/appveyor.yml b/appveyor.yml index 59e80df9..d04892cc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,36 +1,36 @@ -version: "{build}-{branch}" - -branches: - except: - - gh-pages - -build: off -deploy: off -clone_depth: 49 - -image: -- Visual Studio 2017 - -environment: - scoop: C:\projects\scoop - scoop_home: C:\projects\scoop - matrix: - - PowerShell: 5 - -cache: - - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml' -matrix: - fast_finish: true - -init: - - ps: (Get-PSProvider 'FileSystem').Home = 'C:\projects\' - - ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" } - -for: -- matrix: - only: - - PowerShell: 5 - install: - - ps: . "$env:SCOOP_HOME\test\bin\init.ps1" - test_script: - - ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER" +version: "{build}-{branch}" + +branches: + except: + - gh-pages + +build: off +deploy: off +clone_depth: 49 + +image: +- Visual Studio 2017 + +environment: + scoop: C:\projects\scoop + scoop_home: C:\projects\scoop + matrix: + - PowerShell: 5 + +cache: + - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml' +matrix: + fast_finish: true + +init: + - ps: (Get-PSProvider 'FileSystem').Home = 'C:\projects\' + - ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" } + +for: +- matrix: + only: + - PowerShell: 5 + install: + - ps: . "$env:SCOOP_HOME\test\bin\init.ps1" + test_script: + - ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"