X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/fcf97961061982656a1384ecc1628e217a52a88c..e4b4fb02b91e0f5a60a9678604653aecedff513b:/action.yml?ds=inline diff --git a/action.yml b/action.yml index 2ce1c0b..827e971 100644 --- a/action.yml +++ b/action.yml @@ -1,9 +1,24 @@ name: "Black" description: "The uncompromising Python code formatter." author: "Łukasz Langa and contributors to Black" +inputs: + options: + description: + "Options passed to black. Use `black --help` to see available options. Default: + '--check'" + required: false + default: "--check --diff" + src: + description: "Source to run black. Default: '.'" + required: false + default: "." + black_args: + description: "[DEPRECATED] Black input arguments." + required: false + default: "" branding: color: "black" icon: "check-circle" runs: using: "docker" - image: "Dockerfile" + image: "action/Dockerfile"