Skip to content

Commit

Permalink
Pin black version in CI (#1251)
Browse files Browse the repository at this point in the history
* Pin black version in CI

* Fix CI

* Update .pre-commit-config.yaml
  • Loading branch information
ekzhang authored Jan 26, 2024
1 parent 036bbf1 commit 3b72ef0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
# Autofix, and respect `exclude` and `extend-exclude` settings.
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 23.11.0
hooks:
- id: black
language_version: python3
1 change: 0 additions & 1 deletion modal/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ async def __aenter__(self):

async def __aexit__(self, exc_type, exc_val, exc_tb):
if not exc_val:

# Flatten all the uploads yielded by the upload generators in the batch
def gen_upload_providers():
for gen in self._upload_generators:
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Development requirements

black~=22.3.0
black==23.11.0
grpcio-tools==1.48.0;python_version<'3.11' # TODO: remove when we drop client support for Protobuf 3.19
grpcio-tools==1.59.2;python_version>='3.11'
grpclib==0.4.7
Expand Down

0 comments on commit 3b72ef0

Please sign in to comment.