From 6b4a99d7964749b85fe1f603c8e12189c361437b Mon Sep 17 00:00:00 2001 From: tombiju Date: Tue, 7 Feb 2023 21:14:58 -0600 Subject: [PATCH] add black linting --- .github/workflows/black.yml | 12 ++++++++++++ .github/workflows/python-publish.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..16c72ca --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,12 @@ +# This workflow will lint code changes using black when code is pushed to the repository and when making pull requests +# For more information see: https://black.readthedocs.io/en/stable/integrations/github_actions.html +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: psf/black@stable diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b28a775..228001e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,4 +1,4 @@ -# This workflows will upload a Python Package using Twine when a release is created +# This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries name: Update Venmo on PyPi