Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump build dependencies #92

Merged
merged 4 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
altamisa/_version.py export-subst
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
4 changes: 4 additions & 0 deletions altamisa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

__version__ = get_versions()["version"]
del get_versions

from . import _version

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