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 f2e0669
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
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 f2e0669

Please sign in to comment.