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

DEV: Update pre-commit stack and fix executable files #234

Merged
merged 6 commits into from
Jul 10, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ repos:
hooks:
- id: isort
name: isort
args: ["--profile", "black"]
args: ["--profile=black"]
- id: isort
name: isort (cython)
types: [cython]
args: ["--profile", "black"]
args: ["--profile=black"]

- repo: https://github.com/psf/black
rev: 21.6b0
Expand All @@ -34,15 +34,19 @@ repos:
hooks:
- id: nbstripout

- repo: https://github.com/dfm/black_nbconvert
rev: dcd7789
- repo: https://github.com/nbQA-dev/nbQA
rev: 0.13.1
hooks:
- id: black_nbconvert
- id: nbqa-black
args: [--nbqa-mutate]
additional_dependencies: [black==21.6b0]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: python-check-blanket-noqa
- id: python-check-blanket-type-ignore
- id: python-check-mock-methods
- id: python-no-log-warn
- id: rst-backticks
- id: rst-directive-colons
Expand All @@ -54,18 +58,24 @@ repos:
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-json
- id: check-toml
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
exclude: ^LICENSE|\.(html|csv|txt|svg|py)$
- id: pretty-format-json
args: ["--autofix", "--no-sort-keys"]
args: ["--autofix", "--no-ensure-ascii", "--no-sort-keys"]
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified examples/Basic usage.ipynb
100755 → 100644
Empty file.
Empty file modified examples/SIMA example.ipynb
100755 → 100644
Empty file.
Empty file modified examples/datahandler_custom.py
100755 → 100644
Empty file.
Empty file modified fissa/extraction.py
100755 → 100644
Empty file.
Empty file modified fissa/neuropil.py
100755 → 100644
Empty file.
Empty file modified fissa/tests/test_extraction.py
100755 → 100644
Empty file.
Empty file modified setup.py
100644 → 100755
Empty file.