From 65925eba2b1cb93ccb6989969d7fe8ddeb6bd5fb Mon Sep 17 00:00:00 2001 From: Tor Colvin Date: Fri, 12 Apr 2024 09:21:00 -0400 Subject: [PATCH] add python formatting --- .github/workflows/python.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/python.yml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000000..cde1651fb7 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,32 @@ +# Copyright 2024-Present Couchbase, Inc. +# +# Use of this software is governed by the Business Source License included in +# the file licenses/BSL-Couchbase.txt. As of the Change Date specified in that +# file, in accordance with the Business Source License, use of this software +# will be governed by the Apache License, Version 2.0, included in the file +# licenses/APL2.txt. + +name: python + +on: + push: + branches: + - 'master' + - 'main' + - 'release/*' + - 'feature/*' + - 'CBG*' + - 'ci-*' + pull_request: + branches: + - 'master' + - 'main' + - 'release/*' + +jobs: + python-lint: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable