Skip to content

Commit

Permalink
Update the pre-commit black version. Ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Dec 7, 2021
1 parent bddb560 commit 8333429
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/python/black
rev: stable
- repo: https://github.com/python/black
rev: 21.12b0
hooks:
- id: black
language_version: python3.7
- id: black
language_version: python3.9
1 change: 0 additions & 1 deletion afqinsight/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ def __getitem__(self, idx):
else:
return self.X[idx], self.y[idx]


else: # pragma: no cover
AFQTorchDataset = TripWire(torch_msg)

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ tf =
tensorflow
keras-tuner
dev =
black>=21.11b1
black>=21.12b0
typing-extensions>=3.10.0.0
flake8>=3.8.3
numpydoc>=1.1.0
matplotlib>=3.3.0
pre-commit>=2.7.1
pre-commit>=2.9.2
pydocstyle>=5.1.1
pytest-cov>=2.10.1
pytest-xdist[psutil]>=2.1.0
Expand Down

0 comments on commit 8333429

Please sign in to comment.