-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,535 additions
and
111 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 |
---|---|---|
@@ -1,62 +1,98 @@ | ||
repos: | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.5.4 | ||
hooks: | ||
- id: isort | ||
args: [ --multi-line=3, --trailing-comma, --force-grid-wrap=0, --use-parentheses, --line-width=88] | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: ["flake8-eradicate==0.4.0"] | ||
args: [--max-line-length=89] | ||
|
||
|
||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.7.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py36-plus] | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.782 | ||
hooks: | ||
- id: mypy | ||
args: [--ignore-missing-imports] | ||
|
||
- repo: https://github.com/pycqa/pydocstyle | ||
rev: 4.0.0 # pick a git hash / tag to point to | ||
hooks: | ||
- id: pydocstyle | ||
args: [--convention=numpy, --add-ignore=D104] | ||
|
||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.8.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==20.8b1] | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: ^docs/* | ||
- id: end-of-file-fixer | ||
exclude: ^docs/* | ||
- id: debug-statements | ||
- id: check-case-conflict | ||
- id: check-json | ||
- id: check-yaml | ||
- id: mixed-line-ending | ||
- id: check-toml | ||
- id: pretty-format-json | ||
- id: check-docstring-first | ||
- id: check-symlinks | ||
- id: detect-private-key | ||
- hooks: | ||
- args: | ||
- --multi-line=3 | ||
- --trailing-comma | ||
- --force-grid-wrap=0 | ||
- --use-parentheses | ||
- --line-width=88 | ||
- --ensure-newline-before-comments | ||
id: isort | ||
repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
- hooks: | ||
- args: | ||
- --max-line-length=89 | ||
- --max-complexity=15 | ||
id: flake8 | ||
repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
- hooks: | ||
- args: | ||
- --py36-plus | ||
id: pyupgrade | ||
repo: https://github.com/asottile/pyupgrade | ||
rev: v3.9.0 | ||
- hooks: | ||
- id: black | ||
repo: https://github.com/psf/black | ||
rev: 23.7.0 | ||
- hooks: | ||
- additional_dependencies: | ||
- types-attrs | ||
- types-requests | ||
- types-setuptools | ||
- types-PyYAML | ||
- types-toml | ||
args: | ||
- --ignore-missing-imports | ||
- --no-implicit-optional | ||
id: mypy | ||
repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.4.1 | ||
- hooks: | ||
- args: | ||
- --convention=google | ||
- --add-ignore=D104 | ||
id: pydocstyle | ||
repo: https://github.com/pycqa/pydocstyle | ||
rev: 6.3.0 | ||
- hooks: | ||
- id: blacken-docs | ||
repo: https://github.com/asottile/blacken-docs | ||
rev: 1.15.0 | ||
- hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: debug-statements | ||
- id: check-case-conflict | ||
- id: check-json | ||
- id: check-added-large-files | ||
- id: check-yaml | ||
- id: mixed-line-ending | ||
- id: check-toml | ||
- id: pretty-format-json | ||
- id: check-docstring-first | ||
- id: check-symlinks | ||
- id: detect-private-key | ||
- id: pretty-format-json | ||
args: | ||
- --autofix | ||
repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
- hooks: | ||
- args: | ||
- -iii | ||
- -lll | ||
id: bandit | ||
repo: https://github.com/PyCQA/bandit | ||
rev: 1.7.5 | ||
- hooks: | ||
- additional_dependencies: | ||
- radon | ||
args: | ||
- cc | ||
- --min=C | ||
- --total-average | ||
entry: radon | ||
id: radon | ||
language: python | ||
name: radon | ||
verbose: true | ||
repo: local | ||
- hooks: | ||
- id: commitizen | ||
stages: | ||
- commit-msg | ||
repo: https://github.com/commitizen-tools/commitizen | ||
rev: 3.5.3 |
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,13 +1,13 @@ | ||
fitburst | ||
======== | ||
|
||
This repo contains functions and objects for modeling dynamic spectra of dispersed astrophysical signals at radio frequencies. | ||
This repo contains functions and objects for modeling dynamic spectra of dispersed astrophysical signals at radio frequencies. | ||
|
||
## Installation | ||
|
||
Currently, `fitburst` can be installed by cloning the repo and running `pip` in the following way: | ||
|
||
``` | ||
``` | ||
pc> git clone [email protected]:CHIMEFRB/fitburst.git | ||
pc> cd fitburst | ||
pc/fitburst> pip install . # add the --user option if you're looking to install in your local environment. | ||
|
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
Oops, something went wrong.