Skip to content

Commit

Permalink
update workflow to ignore new versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Oct 27, 2023
1 parent b0e5d97 commit 27eeae1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
3 changes: 2 additions & 1 deletion altamisa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
del get_versions

from . import _version
__version__ = _version.get_versions()['version']

__version__ = _version.get_versions()["version"]

0 comments on commit 27eeae1

Please sign in to comment.