X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/fcf97961061982656a1384ecc1628e217a52a88c..7f138c11306cdf4be360d018528c33a3e024dd6b:/action.yml 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"