Skip to content

Commit acfcae8

Browse files
notatallshawichard26
authored andcommitted
Update black to 25.1.0
1 parent f5ff4fa commit acfcae8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+46
-84
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
exclude: .patch
1818

1919
- repo: https://github.com/psf/black-pre-commit-mirror
20-
rev: 24.10.0
20+
rev: 25.1.0
2121
hooks:
2222
- id: black
2323

noxfile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Automation using nox.
2-
"""
1+
"""Automation using nox."""
32

43
import argparse
54
import glob

src/pip/_internal/build_env.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Build Environment used for isolation during sdist building
2-
"""
1+
"""Build Environment used for isolation during sdist building"""
32

43
import logging
54
import os

src/pip/_internal/cache.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Cache Management
2-
"""
1+
"""Cache Management"""
32

43
import hashlib
54
import json

src/pip/_internal/cli/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"""Subpackage containing all of pip's command line interface related code
2-
"""
1+
"""Subpackage containing all of pip's command line interface related code"""
32

43
# This file intentionally does not import submodules

src/pip/_internal/cli/autocompletion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Logic that powers autocompletion installed by ``pip completion``.
2-
"""
1+
"""Logic that powers autocompletion installed by ``pip completion``."""
32

43
import optparse
54
import os

src/pip/_internal/cli/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Primary application entrypoint.
2-
"""
1+
"""Primary application entrypoint."""
32

43
import locale
54
import logging

src/pip/_internal/cli/main_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""A single place for constructing and exposing the main parser
2-
"""
1+
"""A single place for constructing and exposing the main parser"""
32

43
import os
54
import subprocess

src/pip/_internal/index/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
"""Index interaction code
2-
"""
1+
"""Index interaction code"""

src/pip/_internal/models/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
"""A package that contains models that represent entities.
2-
"""
1+
"""A package that contains models that represent entities."""

0 commit comments

Comments
 (0)