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

Pin black version in CI #1251

Merged
merged 3 commits into from
Jan 26, 2024
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
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
Loading