mirror of
https://gitea.com/actions/setup-python.git
synced 2024-12-04 07:59:33 +01:00
Address YAML linting errors
This commit is contained in:
parent
5e1c8c0ba4
commit
c63dffb056
2 changed files with 6 additions and 5 deletions
|
@ -1,9 +1,10 @@
|
||||||
|
---
|
||||||
name: 'Setup Python'
|
name: 'Setup Python'
|
||||||
description: 'Set up a specific version of Python and add the command-line tools to the PATH'
|
description: 'Set up a specific version of Python and add the command-line tools to the PATH.'
|
||||||
author: 'GitHub'
|
author: 'GitHub'
|
||||||
inputs:
|
inputs:
|
||||||
python-version:
|
python-version:
|
||||||
description: 'Version range or exact version of a Python version to use, using semvers version range syntax.'
|
description: 'Version range or exact version of a Python version to use, using SemVer's version range syntax.'
|
||||||
default: '3.x'
|
default: '3.x'
|
||||||
architecture:
|
architecture:
|
||||||
description: 'The target architecture (x86, x64) of the Python interpreter.'
|
description: 'The target architecture (x86, x64) of the Python interpreter.'
|
||||||
|
@ -13,4 +14,4 @@ runs:
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: 'code'
|
icon: 'code'
|
||||||
color: 'yellow'
|
color: 'yellow'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
# 80 chars should be enough, but don't fail if a line is longer
|
# 120 chars should be enough, but don't fail if a line is longer
|
||||||
line-length:
|
line-length:
|
||||||
max: 80
|
max: 120
|
||||||
level: warning
|
level: warning
|
||||||
|
|
Loading…
Reference in a new issue