Fix with black 24.1.1. (#10014)

This commit is contained in:
Jiaming Yuan
2024-01-30 17:24:11 +08:00
committed by GitHub
parent 65d7bf2dfe
commit 54b71c8fba
46 changed files with 49 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
"""Build configuration"""
import dataclasses
from typing import Any, Dict, List, Optional

View File

@@ -1,6 +1,7 @@
"""
Functions for building libxgboost
"""
import logging
import os
import pathlib

View File

@@ -4,6 +4,7 @@ Builds source distribution and binary wheels, following PEP 517 / PEP 660.
Reuses components of Hatchling (https://github.com/pypa/hatch/tree/master/backend) for the sake
of brevity.
"""
import dataclasses
import logging
import os

View File

@@ -1,6 +1,7 @@
"""
Functions for building sdist
"""
import logging
import pathlib

View File

@@ -1,6 +1,7 @@
"""
Utility functions for implementing PEP 517 backend
"""
import logging
import pathlib
import shutil