Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
3eb0c0a
Modifications to AWS notebook
allibco Jul 30, 2020
3e32f13
fixed mae_max_day, specified metrics that must be in spatial plots
pinarda Jul 30, 2020
650c347
fixed tests
pinarda Jul 30, 2020
c2504f8
More modifications with variables to compare ..
allibco Jul 30, 2020
c1290ce
fix month error in large data notebook
pinarda Jul 30, 2020
e52c9f4
update install instructions to include conda-forge
pinarda Jul 30, 2020
5776b16
fixed error in spatial comparison mean plot
pinarda Jul 30, 2020
d09301b
bug fix again
pinarda Jul 31, 2020
93d06f1
Merge pull request #132 from NCAR/dev
pinarda Jul 31, 2020
d343764
Merge branch 'master' into fix-numpy-docstrings
pinarda Jul 31, 2020
bb289aa
removed test marking, added preprocess to open_datasets
pinarda Jul 31, 2020
4b16818
Merge pull request #120 from andersy005/fix-numpy-docstrings
pinarda Jul 31, 2020
d18135b
remove missing file from tests
pinarda Jul 31, 2020
2583636
fixed test again
pinarda Jul 31, 2020
f8b8260
Fix notebooks rendering
andersy005 Jul 31, 2020
f4fe7e2
Merge branch 'master' into dev
pinarda Aug 1, 2020
2cc60ce
Merge pull request #134 from NCAR/dev
pinarda Aug 1, 2020
b762c8c
update to version 0.4
pinarda Aug 1, 2020
15d9439
minor note
allibco Aug 5, 2020
716cd25
Merge branch 'master' into alli_dev
allibco Aug 5, 2020
4114cd2
updated README
allibco Aug 5, 2020
88a9430
AWS notebook modifications
allibco Aug 6, 2020
bda2e2e
Merge pull request #135 from NCAR/alli_dev
allibco Aug 6, 2020
52fae8a
Merge pull request #133 from andersy005/fix-docs
allibco Aug 6, 2020
fe63b66
Added new collect_datasets() function
allibco Aug 6, 2020
a427b4c
AWS notebook changes
allibco Aug 7, 2020
fb45d5a
Merge pull request #136 from NCAR/alli_dev
allibco Aug 7, 2020
b8cf822
mod needed to prepocess w/jupyter hub on Casper
allibco Aug 7, 2020
0204bd7
Merge pull request #137 from NCAR/alli_dev
allibco Aug 7, 2020
6ca007e
modifications to glade notebook
allibco Aug 7, 2020
0cfa92b
Merge pull request #138 from NCAR/jhub
allibco Aug 7, 2020
62c9654
continued working on the AWS example notebook
allibco Aug 7, 2020
d91681c
Added utility to check metrics for pass/fail
allibco Aug 7, 2020
6ad4b6d
Merge pull request #140 from NCAR/alli_dev
allibco Aug 7, 2020
6ecd430
update pre-commit install instructions
pinarda Aug 18, 2020
672f4f8
fixing code style
pinarda Aug 18, 2020
2f362a5
change mpl dependency to mpl-base
pinarda Aug 18, 2020
5e599cd
update mock imports
pinarda Aug 18, 2020
ca7fb24
add scikit image to mock import
pinarda Aug 18, 2020
cdb56e0
add skbuild to mock imports
pinarda Aug 18, 2020
614cdbd
add opencv to mock imports?
pinarda Aug 18, 2020
c63e7e5
add skbuild to reqs
pinarda Aug 18, 2020
7630564
adding skbuild still
pinarda Aug 18, 2020
8d91b1e
change to import scikit-build
pinarda Aug 18, 2020
a8dc7a1
removed scikit-build, specified opencv version
pinarda Aug 18, 2020
e730adb
specify opencv version
pinarda Aug 18, 2020
48a00c2
update opencv version in conda
pinarda Aug 18, 2020
c672fd2
PRECT compression labels were wrong
allibco Aug 19, 2020
dc306d2
format fix
allibco Aug 19, 2020
83eefeb
formatting
allibco Aug 19, 2020
88125d5
Merge pull request #144 from NCAR/alli_dev
allibco Aug 19, 2020
248942b
fixed formatting
allibco Aug 20, 2020
bcc9ef2
Merge pull request #146 from NCAR/alli_dev
allibco Aug 20, 2020
7e39fcf
Auto stash before merge of "master" and "origin/master"
pinarda Aug 21, 2020
f1c4c87
fixed compare_stats test
pinarda Aug 21, 2020
98d1961
disable execution for unexecuted notebooks
pinarda Aug 21, 2020
ac7a2b6
changed print_stats to compare_stats and added new ts plot
allibco Aug 25, 2020
e3ff865
Merge pull request #148 from NCAR/jup
allibco Aug 25, 2020
2028742
release 0.5
pinarda Aug 25, 2020
f012758
always the formatting
allibco Aug 25, 2020
3574596
Merge pull request #150 from NCAR/alli_dev
allibco Aug 25, 2020
8fa4070
Error checking added for time dimension
allibco Aug 26, 2020
809ec8e
Merge pull request #153 from NCAR/alli_dev
allibco Aug 26, 2020
272e93a
minor notebook adjustments
allibco Aug 26, 2020
755452b
Merge pull request #157 from NCAR/jup
allibco Aug 26, 2020
8314a98
removed ref to prect 1e-12
allibco Aug 27, 2020
5473e74
minor updates - still a problem with axis labels
allibco Aug 27, 2020
7451375
Merge pull request #160 from NCAR/alli_dev
allibco Aug 27, 2020
f2dcd2d
formatting
allibco Aug 27, 2020
bf90c69
Merge pull request #161 from NCAR/alli_dev
allibco Aug 27, 2020
37ca339
FIxed error in ks test
allibco Aug 27, 2020
d812e7a
Merge pull request #162 from NCAR/alli_dev
allibco Aug 27, 2020
0885616
extra comments
allibco Aug 27, 2020
4cdb765
Merge pull request #163 from NCAR/alli_dev
allibco Aug 27, 2020
c77928f
updated documentation
pinarda Aug 27, 2020
19f8c4f
Merge remote-tracking branch 'origin/master'
pinarda Aug 27, 2020
5e1e60c
fixed subset_data end
pinarda Aug 27, 2020
4ba4dc6
remove unused imports
pinarda Aug 28, 2020
f75e577
fixed nan display
pinarda Aug 28, 2020
cdcd00a
test updated monthly plot
pinarda Aug 28, 2020
312cc54
fixed month labels again
pinarda Aug 28, 2020
7673997
remove zfp 1e-12 data to clear space
pinarda Aug 28, 2020
ffa0f69
added error checking to compare_stats
allibco Aug 28, 2020
202edee
Merge pull request #165 from NCAR/alli_dev
allibco Aug 28, 2020
34f84a9
more histogram axis labels
allibco Sep 1, 2020
d22b7e0
added new package requirement
pinarda Sep 2, 2020
db25384
fix ks-p test
pinarda Sep 2, 2020
19acf07
change nc-time-axis name
pinarda Sep 2, 2020
ab28962
use black 20.8b1
pinarda Sep 2, 2020
f3fa4ca
formatting
pinarda Sep 2, 2020
629c54e
Merge branch 'master' into alli_dev
pinarda Sep 2, 2020
82da6b5
Merge pull request #167 from NCAR/alli_dev
pinarda Sep 2, 2020
ea067c4
changed sample data path
allibco Sep 2, 2020
248fd2f
Merge pull request #172 from NCAR/jup
allibco Sep 2, 2020
86550bf
New notbook example exploring error bias.
allibco Sep 3, 2020
1feeb67
removed files that i accidently added ...
allibco Sep 3, 2020
b13f680
Merge pull request #173 from NCAR/jup
allibco Sep 3, 2020
b9e8114
working on aws notebook
allibco Sep 4, 2020
2638a8f
Merge pull request #174 from NCAR/alli_dev
allibco Sep 4, 2020
7f09834
version 0.6
pinarda Sep 4, 2020
d7eddec
Mods to get AWS notebook working
allibco Sep 9, 2020
90a3b19
Merge pull request #175 from NCAR/alli_dev
allibco Sep 9, 2020
54f9454
final changes for AWS
allibco Sep 9, 2020
1670cce
Merge pull request #176 from NCAR/alli_dev
allibco Sep 9, 2020
344089b
added additional sz plot
allibco Sep 10, 2020
7647046
Merge pull request #177 from NCAR/jup
allibco Sep 10, 2020
3902367
add vertical plotting option
pinarda Sep 23, 2020
23801d4
time series vertical plotting
pinarda Sep 23, 2020
6003bf7
fix time series text size
pinarda Sep 23, 2020
2882382
fix label rotation time series
pinarda Sep 23, 2020
88194dc
how to use CHeyenne also
allibco Sep 23, 2020
ba068e0
Merge branch 'master' of https://github.com/NCAR/ldcpy
allibco Sep 23, 2020
d975460
updates for NCAR
allibco Sep 23, 2020
ccce4f2
more NCAR stuff
allibco Sep 23, 2020
198f862
formatting
allibco Sep 23, 2020
033c752
Merge pull request #178 from NCAR/jup
allibco Sep 23, 2020
5b5d378
added doi
allibco Sep 23, 2020
0da3525
fixes for nan values
pinarda Sep 24, 2020
031d175
Merge remote-tracking branch 'origin/master'
pinarda Sep 24, 2020
8f3e592
changes to large notebook example
allibco Sep 24, 2020
9faa547
Merge pull request #179 from NCAR/jup
allibco Sep 24, 2020
4bbba28
Update pre-commit hooks and add new hooks
andersy005 Sep 28, 2020
dead767
Formatting only
andersy005 Sep 28, 2020
0fa6a9a
Merge pull request #181 from andersy005/update-code-style-checks
allibco Sep 28, 2020
c8d66a0
fixed error
allibco Sep 30, 2020
de79cea
Merge pull request #182 from NCAR/alli_dev
allibco Sep 30, 2020
f313234
ran the 10-yr lag-1 calculation
allibco Sep 30, 2020
14ed659
Merge pull request #183 from NCAR/jup
allibco Sep 30, 2020
5296321
prect example notebook
allibco Oct 1, 2020
7f45fca
Merge pull request #184 from NCAR/jup
allibco Oct 1, 2020
a1b547f
Auto stash before merge of "master" and "origin/master"
pinarda Oct 7, 2020
8d720da
fix harmonic metric
pinarda Oct 7, 2020
0a8f78d
misc enhancements
pinarda Oct 7, 2020
3b27635
add re requirement, USETEX global variable
pinarda Oct 8, 2020
8782743
made tex formatting optional
pinarda Oct 8, 2020
b5c542b
fix harmonic metric
pinarda Oct 8, 2020
73268dd
remove re from requirements
pinarda Oct 8, 2020
494adfd
update to version 0.7
pinarda Oct 8, 2020
d1ce71e
update annual harmonic chunks
pinarda Oct 8, 2020
bb28a45
update harmonic chunk size
pinarda Oct 8, 2020
ab9d488
metric_of_diff legend fix
pinarda Oct 8, 2020
09fb769
turn off tex formatting by default
pinarda Oct 8, 2020
c735a5b
added standardized_mean, removed standardized_err option
pinarda Oct 8, 2020
3a6d98a
fix p-value calculation for annual harmonic
pinarda Oct 10, 2020
f6bf8c2
fix p-value check
pinarda Oct 10, 2020
a1a9194
fix mean standardization
pinarda Oct 10, 2020
6c4b7e2
fix standardized_mean, comment latex escape function
pinarda Oct 10, 2020
113dd1a
fix plot time-series naming
pinarda Oct 10, 2020
e6694b2
fix odds_positive grouped metric
pinarda Oct 10, 2020
cef9ceb
fixed annual harmonic length measurement
pinarda Oct 11, 2020
f6142aa
annual harmonic fix
pinarda Oct 11, 2020
8a7b1aa
fix harmonic title
pinarda Oct 11, 2020
98ee3af
more title fixes
pinarda Oct 11, 2020
a844831
prevent loading multiple datasets
pinarda Oct 11, 2020
c201129
move color min and max calc outside loop
pinarda Oct 11, 2020
babcb02
fixing color limit selection
pinarda Oct 11, 2020
fd282a6
prevent rechunking inside annual harmonic calculation
pinarda Oct 11, 2020
fb261dd
try deleting data after plotting is done
pinarda Oct 11, 2020
2c29ebf
don't delete da_sets
pinarda Oct 11, 2020
5b612f8
try deleting lag-1 vars as we finish computation
pinarda Oct 11, 2020
6d79713
fixing colorbar limits when values are all infinite
pinarda Oct 11, 2020
5ce76b0
fix again
pinarda Oct 11, 2020
e9b0fe2
remove vmin, vmax from each plot call
pinarda Oct 11, 2020
7ac72f2
update lag-1 metric
pinarda Oct 11, 2020
0ac11b6
adding debug statements
pinarda Oct 11, 2020
0723181
remove debug statements, fix lag1 metric
pinarda Oct 11, 2020
1952d31
remove corr_lag1 metric
pinarda Oct 11, 2020
0e83478
fix lag1 metric
pinarda Oct 11, 2020
b93b510
fix lag1 once more
pinarda Oct 11, 2020
126b6fa
try removing add_cyclic_point
pinarda Oct 11, 2020
f18e974
disable deseasonalizing in lag1
pinarda Oct 11, 2020
cbefbd7
remove redundant calculations
pinarda Oct 11, 2020
1cf9b91
uncommenting lag-1 deseasonalize, colormin and colormax
pinarda Oct 11, 2020
20fe00a
try persisting data
pinarda Oct 11, 2020
06a92a6
avoid da_sets computation
pinarda Oct 11, 2020
3ce2b3d
fix
pinarda Oct 11, 2020
5b60e0b
persist cy_datas
pinarda Oct 11, 2020
155da3b
try rechunking inside lag1 calculation
pinarda Oct 11, 2020
9e69ab9
lag1_first_difference metric
pinarda Oct 12, 2020
4965820
lag1_first_difference update
pinarda Oct 12, 2020
f8ebc66
change std normalization
pinarda Oct 12, 2020
f1c26a1
fix std ddof
pinarda Oct 12, 2020
5694932
try removing mean manually instead of detrending
pinarda Oct 12, 2020
027056e
fix harmonic frequency neighborhood
pinarda Oct 12, 2020
5605b43
fix annual harmonic calculation
pinarda Oct 12, 2020
32b8c64
change annual frequency
pinarda Oct 12, 2020
9535730
fixed tests
pinarda Oct 12, 2020
1f18289
add legend offset option
pinarda Oct 15, 2020
035f408
updated large data notebook
allibco Oct 19, 2020
915cee0
fixed pcc
pinarda Oct 19, 2020
f4b2d41
updated tutorial notebbook
pinarda Oct 19, 2020
39d0fa2
Merge remote-tracking branch 'origin/master'
pinarda Oct 19, 2020
a428a29
update tutorial notebook
pinarda Oct 19, 2020
e67005f
update large data notebook with CAGEO data plots
pinarda Oct 19, 2020
958e58d
update metric names
pinarda Oct 19, 2020
fa90e9c
metric_type and metric -> calc_type and calc
pinarda Oct 19, 2020
9077b37
update ssim calc
pinarda Oct 31, 2020
a005447
updated notebooks
Oct 31, 2020
3342850
remove extra stuff
Oct 31, 2020
fa6e052
remove extra stuff
pinarda Oct 31, 2020
c9b791c
Added pop sample data
allibco Nov 2, 2020
00eef4a
formatting
allibco Nov 6, 2020
93e4cb8
fixed code style issues
pinarda Nov 9, 2020
8ea5912
version 0.8
pinarda Nov 9, 2020
39da4e2
fix large data formatting for precommit
pinarda Nov 9, 2020
f661bd1
fix code style checker to python version 3.8
pinarda Nov 9, 2020
daf1e9f
fix formatting
pinarda Nov 9, 2020
b469805
formatting error_bias notebook
pinarda Nov 10, 2020
716c848
python 3.9 stuff
pinarda Nov 10, 2020
2274d60
manually fixed notebook styling
pinarda Nov 10, 2020
581960b
remove 3.9 from ci workflow
pinarda Nov 10, 2020
0692bc5
Update CI (#197)
andersy005 Nov 16, 2020
67afab6
add skbuild dependency to docs
pinarda Nov 20, 2020
0ea3744
try mocking skbuild
pinarda Nov 20, 2020
67e4d45
update dev documentation
pinarda Nov 20, 2020
2ae1933
downgrade opencv on dev
pinarda Nov 20, 2020
27941cc
update docs badge on dev
pinarda Nov 20, 2020
2a86e5f
update dev badge once more
pinarda Nov 20, 2020
223fdc9
commit bug fix for ssim and adding max sp rel err
allibco Nov 24, 2020
6635a8c
Merge pull request #198 from NCAR/alli_dev
allibco Nov 24, 2020
9cfda4b
default to level 0 and make it optional for compare_stats, check_metr…
pinarda Nov 28, 2020
5b75c22
remove opencv version
pinarda Nov 28, 2020
d88a02f
Merge branch 'master' into dev
pinarda Nov 28, 2020
9920872
Merge pull request #199 from NCAR/dev
pinarda Nov 28, 2020
73a5900
update docs
pinarda Nov 28, 2020
eece22d
New example notebook for zfp compression examples
allibco Dec 1, 2020
90c9b75
version 0.12
pinarda Dec 1, 2020
3e73547
Update pre-commit hooks versions and Fixing linting CI (#202)
andersy005 Dec 4, 2020
1736f61
Remove CircleCI config (#203)
andersy005 Dec 4, 2020
36302be
Remove opencv dependency (#201)
andersy005 Dec 4, 2020
2cdc483
Fix setuptools settings and update list of requirements (#205)
andersy005 Dec 4, 2020
ce17a84
Make dim names configurable (#206)
andersy005 Dec 4, 2020
26e1ba6
🔨 Refactor compare_stats and check_metrics functions (#207)
andersy005 Dec 10, 2020
4d4c48b
formatting
allibco Jan 13, 2021
2754544
Merge pull request #215 from NCAR/alli_dev
allibco Jan 13, 2021
74ccc3d
notebook updates
allibco Jan 13, 2021
0df2dd0
Merge pull request #217 from NCAR/alli_chey
allibco Jan 13, 2021
3e88451
more notebook updates
allibco Jan 13, 2021
6d976d1
Merge pull request #218 from NCAR/alli_dev
allibco Jan 13, 2021
7b99a74
compressed pop file
allibco Jan 14, 2021
43518e2
Merge branch 'master' of https://github.com/NCAR/ldcpy
allibco Jan 14, 2021
df6aad2
new notebook for POP Data
allibco Jan 14, 2021
b0e7e5e
noted incomplete notebook
allibco Jan 19, 2021
5f60676
update the aggregate dimension thing in notebooks
allibco Jan 19, 2021
15a9a99
Merge pull request #219 from NCAR/alli_dev
allibco Jan 19, 2021
b80b0ee
added 3D cloud data
allibco Jan 23, 2021
69e67ce
Add Scikit-learn to list of dependencies (#222)
andersy005 Jan 28, 2021
3482807
update documentation for adding new packages
pinarda Feb 6, 2021
ef80e2c
update docs again
pinarda Feb 6, 2021
85775d6
One more doc update
pinarda Feb 6, 2021
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
123 changes: 0 additions & 123 deletions .circleci/config.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
# - package-ecosystem: pip
# directory: "/"
# schedule:
# interval: daily
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
# Check for updates once a week
interval: 'weekly'
40 changes: 22 additions & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,50 @@ name: CI
on:
push:
branches:
- "*"
- '*'
pull_request:
branches:
- "*"
- '*'
schedule:
- cron: '0 0 * * *' # Daily “At 00:00” UTC
workflow_dispatch: # allows you to trigger the workflow run manually

jobs:
build:
if: |
github.repository == 'NCAR/ldcpy'
name: Build (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.6", "3.7", "3.8"]
os: ['ubuntu-latest']
python-version: ['3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if ci/environment.yml has not changed
CACHE_NUMBER: 0
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.6.0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}
- uses: goanpeca/setup-miniconda@v1
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge
channel-priority: strict
mamba-version: '*'
activate-environment: ldcpy # Defined in ci/environment.yml
auto-update-conda: false
python-version: ${{ matrix.python-version }}
environment-file: ci/environment.yml
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!

- name: Set up conda environment
shell: bash -l {0}
run: |
conda env update -n base -f ci/environment.yml
mamba env update -f ci/environment.yml
python -m pip install -e .
conda list

- name: Run Tests
shell: bash -l {0}
run: |
pytest --cov=./ --cov-report=xml

Expand Down
59 changes: 6 additions & 53 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,14 @@ name: code-style

on:
push:
branches: "*"
branches: '*'
pull_request:
branches: master


branches: '*'

jobs:

lint-black:
name: black-formatter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Black
run: |
python -m pip install black
- name: Black Code Formatter
run: |
black --check --line-length 100 --skip-string-normalization .

lint-flake8:
name: flake8
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Flake8
run: |
python -m pip install flake8
- name: Flake8 check
run: |
flake8 .

lint-isort:
name: isort
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install isort
run: |
python -m pip install isort
- name: isort check
run: |
isort --recursive --check-only .
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
2 changes: 2 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

jobs:
deploy:
if: |
github.repository == 'NCAR/ldcpy'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,4 @@ dmypy.json
.pyre/

# End of https://www.gitignore.io/api/python,pycharm,pycharm+all,pycharm+iml
.vscode/
3 changes: 0 additions & 3 deletions .isort.cfg

This file was deleted.

67 changes: 43 additions & 24 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,50 @@
exclude: docs/source/notebooks/prect.ipynb
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-yaml
- id: double-quote-string-fixer

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-yaml
- id: double-quote-string-fixer

- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
args: ["--line-length", "100", "--skip-string-normalization"]

- repo: https://github.com/keewis/blackdoc
rev: v0.3
hooks:
- id: blackdoc

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.1
hooks:
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8

- repo: https://github.com/asottile/seed-isort-config
rev: v2.1.1
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.0.3
hooks:
- id: isort
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.6.4
hooks:
- id: isort

- repo: https://github.com/prettier/pre-commit
rev: 57f39166b5a5a504d6808b87ab98d41ebf095b46
hooks:
- id: prettier

- repo: https://github.com/nbQA-dev/nbQA
rev: 0.5.2
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.7.3]
- id: nbqa-isort
additional_dependencies: [isort==5.6.4]
3 changes: 3 additions & 0 deletions .prettierrc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tabWidth = 2
semi = false
singleQuote = true
Loading