From f2e0669ddb51c1ace60a352b5f00229539fbbdd3 Mon Sep 17 00:00:00 2001 From: Thomas Sell Date: Fri, 27 Oct 2023 13:55:37 +0200 Subject: [PATCH] update workflow to ignore new versioneer --- .github/workflows/ci.yml | 3 +-- Makefile | 4 ++-- altamisa/__init__.py | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 876b220..0b9b85c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,6 @@ jobs: coverage-reports: coverage.xml if: ${{ matrix.python-version == '3.7' }} - name: Check style with black - run: black --check --line-length 100 . - if: ${{ matrix.python-version < '3.9' }} + run: make black-check - name: Check style with flake8 run: flake8 . diff --git a/Makefile b/Makefile index a3dfd15..149e196 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ default: black flake8 black: - black -l 100 . + black -l 100 --exclude "versioneer.py|_version.py" . black-check: - black -l 100 --check . + black -l 100 --exclude "versioneer.py|_version.py" --check . flake8: flake8 . diff --git a/altamisa/__init__.py b/altamisa/__init__.py index cd9af8c..3e25ee2 100644 --- a/altamisa/__init__.py +++ b/altamisa/__init__.py @@ -4,4 +4,5 @@ del get_versions from . import _version -__version__ = _version.get_versions()['version'] + +__version__ = _version.get_versions()["version"]