From d4272b9fee8756e2245ea31af77e69d1177edf4c Mon Sep 17 00:00:00 2001 From: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:39:16 +0530 Subject: [PATCH] Add balck github action to format python files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- .github/workflows/python_formatter.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/python_formatter.yaml diff --git a/.github/workflows/python_formatter.yaml b/.github/workflows/python_formatter.yaml new file mode 100644 index 0000000000..83446b571b --- /dev/null +++ b/.github/workflows/python_formatter.yaml @@ -0,0 +1,11 @@ +name: Proper Formatting on Python files + +on: [push, pull_request] + +jobs: + format_python_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: psf/black@stable + \ No newline at end of file