Skip to content

Commit

Permalink
update pre-commit hooks (#4874)
Browse files Browse the repository at this point in the history
* update the blackdoc hook version

* remove mypy from the environments

* remove the reference to the conda requirements files

* also remove isort, black and flake8
  • Loading branch information
keewis authored Feb 8, 2021
1 parent f98d6f0 commit 4e97b33
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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
Expand All @@ -30,7 +30,7 @@ repos:
# - id: velin
# args: ["--write", "--compact"]
- 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

0 comments on commit 4e97b33

Please sign in to comment.