From 668a3a20869b080d31011cc1aa9e015caf054ddb Mon Sep 17 00:00:00 2001 From: Sander Sweers Date: Mon, 9 Oct 2023 18:54:54 +0200 Subject: [PATCH] Add black workflow --- .github/workflows/black.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 000000000..7762f9bc5 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,13 @@ +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: psf/black@stable + with: + options: "black -l 120 -t py38 -t py39 -t py310 -t py311 -t py312" + src: "./apps/blueman-*.in ./blueman/"