Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Hamman committed Jul 13, 2020
1 parent d13093f commit 7478907
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
python -m pip install isort
- name: isort check
run: |
isort --recursive --check-only .
isort --check-only .
test:
name: ${{ matrix.python-version }}-build
runs-on: ubuntu-latest
Expand Down
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v3.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -9,26 +9,26 @@ repos:
- id: check-yaml
- id: double-quote-string-fixer

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

- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
rev: 3.8.3
hooks:
- id: flake8
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.4
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
rev: v5.0.9
hooks:
- id: isort

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

- repo: https://github.com/prettier/prettier
rev: 1.19.1
rev: 2.0.5
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion ci/py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
- dask
- pytest
- scikit-learn
- xarray
- xarray>=0.16
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setup_requires =
[flake8]
exclude = docs
ignore = E203,E266,E501,W503,F401,E722,E402,C901
max-line-length = 80
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9

Expand Down

0 comments on commit 7478907

Please sign in to comment.