From 44b0e1846468d6c7a256056e141a3aa59cc60075 Mon Sep 17 00:00:00 2001 From: LatekVon Date: Mon, 15 Apr 2024 22:58:08 +0200 Subject: [PATCH] change formatter to black --- .github/workflows/black.yml | 12 ++++++++++++ .github/workflows/pylint.yml | 23 ----------------------- 2 files changed, 12 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/black.yml delete mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..517e07f --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,12 @@ +name: Python Black + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.9"] + steps: + - uses: cytopia/docker-black@0.11 diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml deleted file mode 100644 index 3386850..0000000 --- a/.github/workflows/pylint.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Pylint - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.9"] - steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py')