-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update all refs to Bloom lab webpage to go to new lab website * test w GitHub Actions rather than Travis * lint w `ruff` rather than `flake8` * format w black * increment version and CHANGELOG * fix bug introduced when linting
- Loading branch information
Showing
16 changed files
with
70 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Run tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: install python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: install package and dependencies | ||
run: pip install -e . && pip install -r test_requirements.txt | ||
|
||
- name: lint code with ruff | ||
run: ruff check . | ||
|
||
- name: check code format with black | ||
run: black --check . | ||
|
||
- name: test code with `pytest` | ||
run: pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.* | ||
~* | ||
|
||
!.gitignore | ||
!.travis.yml | ||
!.git* | ||
|
||
!.flake8 | ||
!.nojekyll | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ | |
""" | ||
|
||
__author__ = "`the Bloom lab <https://research.fhcrc.org/bloom/en.html>`_" | ||
__author__ = "`the Bloom lab <https://jbloomlab.org>`_" | ||
__email__ = "[email protected]" | ||
__version__ = "0.6" | ||
__version__ = "0.7" | ||
__url__ = "https://github.com/jbloomlab/binarymap" | ||
|
||
from binarymap.binarymap import BinaryMap # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Acknowledgements | ||
----------------- | ||
``binarymap`` is written by `the Bloom lab <https://research.fhcrc.org/bloom/en.html>`_. | ||
``binarymap`` is written by `the Bloom lab <https://jbloomlab.org>`_. | ||
|
||
See https://github.com/jbloomlab/binarymap/graphs/contributors for the full list of contributors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
[pytest] | ||
addopts = binarymap docs --nbval --ignore setup.py --ignore docs/_build --doctest-modules | ||
addopts = | ||
binarymap | ||
docs | ||
--nbval | ||
--ignore setup.py | ||
--ignore docs/_build | ||
--doctest-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
"""Setup script for ``binarymap``.""" | ||
|
||
|
||
import re | ||
import sys | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
pytest | ||
flake8 | ||
black | ||
flake8-docstrings | ||
flake8-rst-docstrings | ||
flake8-builtins | ||
flake8-import-order | ||
flake8-comprehensions | ||
flake8-bugbear | ||
flake8-print | ||
ruff | ||
nbval |