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

update pre-commit hooks #4874

Merged
merged 5 commits into from
Feb 8, 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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ repos:
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
rev: v0.3.2
rev: v0.3.3
hooks:
- id: blackdoc
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790 # Must match ci/requirements/*.yml
rev: v0.790
hooks:
- id: mypy
exclude: "properties|asv_bench"
Expand Down
4 changes: 0 additions & 4 deletions ci/requirements/py37-min-all-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies:
# When upgrading python, numpy, or pandas, must also change
# doc/installing.rst and setup.py.
- python=3.7
- black
- boto3=1.9
- bottleneck=1.2
- cartopy=0.17
Expand All @@ -18,16 +17,13 @@ dependencies:
- coveralls
- dask=2.9
- distributed=2.9
- flake8
- h5netcdf=0.7
- h5py=2.9 # Policy allows for 2.10, but it's a conflict-fest
- hdf5=1.10
- hypothesis
- iris=2.2
- isort
- lxml=4.4 # Optional dep of pydap
- matplotlib-base=3.1
- mypy=0.782 # Must match .pre-commit-config.yaml
- nc-time-axis=1.2
- netcdf4=1.4
- numba=0.46
Expand Down
4 changes: 0 additions & 4 deletions ci/requirements/py38-all-but-dask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@ channels:
- nodefaults
dependencies:
- python=3.8
- black
- boto3
- bottleneck
- cartopy
- cdms2
- cfgrib
- cftime
- coveralls
- flake8
- h5netcdf
- h5py=2
- hdf5
- hypothesis
- isort
- lxml # Optional dep of pydap
- matplotlib-base
- mypy=0.790 # Must match .pre-commit-config.yaml
- nc-time-axis
- netcdf4
- numba
Expand Down