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