Skip to content

Commit

Permalink
Segmentation and Cachix
Browse files Browse the repository at this point in the history
* Added cachix bootstrap. Fixed bootstrap for Linux.

* Pytest ini updated.

* Change HDF to Fast5.

* added Nix.test for our test work

* [#83] Introduce abstractions for signals and fast5 files (#84)

* [#83] Introduce abstractions for signals and fast5 files

* Removed class method from FractionalizedSignal

* Architecting signal and fast5 data organization

Co-authored-by: Jessica Dunstan <[email protected]>
Co-authored-by: Katie Doroschak <[email protected]>
  • Loading branch information
3 people authored Mar 12, 2021
1 parent ecf2b67 commit da7d02d
Show file tree
Hide file tree
Showing 91 changed files with 6,117 additions and 3,718 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ CachedExtensions/
User/

# Mac
tests/data/.DS_Store
tests/.DS_Store
src/tests/data/.DS_Store
src/tests/.DS_Store
.DS_Store
24 changes: 18 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ repos:
hooks:
- id: black
args: [--safe, --line-length=99]
name: Prettify code
name: Prettify Python Code
always_run: true

#####################################
# Sorts module imports #
#####################################
- repo: https://github.com/timothycrosley/isort
rev: master
rev: 5.6.4
hooks:
- id: isort
name: Sort imports
name: Sort Python Imports
always_run: false
args: [--multi-line=3, --trailing-comma, --force-grid-wrap=0, --use-parentheses, --line-width=99]

Expand All @@ -43,7 +43,7 @@ repos:
- id: flake8
additional_dependencies: [flake8~=3.7.3]
args: [--max-line-length=99]
name: Check style
name: Check Python Style
stages: [push]

#####################################
Expand All @@ -53,9 +53,21 @@ repos:
rev: 5.0.2
hooks:
- id: pydocstyle
name: Check documentation
name: Check Python Documentation
stages: [push]


#####################################
# Format Nix files #
#####################################
- repo: local
hooks:
- id: nixpkgs-fmt
name: Prettify Nix Files
entry: nixpkgs-fmt
language: system
types: [nix]

#####################################
# Runs unit tests #
#####################################
Expand All @@ -66,4 +78,4 @@ repos:
entry: pytest -v
language: system
types: [python]
stages: [push]
always_run: true
Loading

0 comments on commit da7d02d

Please sign in to comment.