diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 876b220..0eeb066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,5 @@ jobs: if: ${{ matrix.python-version == '3.7' }} - name: Check style with black run: black --check --line-length 100 . - if: ${{ matrix.python-version < '3.9' }} - 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"]