From 5e88123a2d6c823ea762da5bcffa1a62bd2b4a0d Mon Sep 17 00:00:00 2001 From: David Frenzel Date: Mon, 29 Jul 2024 18:59:50 +0200 Subject: [PATCH] Added Black linter to project --- .github/dependabot.yml | 8 ++++++-- .github/workflows/lint.yml | 10 ++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/lint.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9d866e3..fd39620 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,11 @@ version: 2 updates: - - package-ecosystem: "pip" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" schedule: interval: "weekly" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..5e42232 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,10 @@ +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable