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

@@ -7,6 +7,7 @@ needed, run CMake .
If this is a RC release, the version for JVM packages has the form
<major>.<minor>.<patch>-RC1
"""
import argparse
import datetime
import os

View File

@@ -1,4 +1,5 @@
"""Utilities for packaging R code and running tests."""
import argparse
import os
import shutil

View File

@@ -1,4 +1,5 @@
"""Utilities for the CI."""
import os
from datetime import datetime, timedelta
from functools import wraps

View File

@@ -1,5 +1,6 @@
"""Loading a pickled model generated by test_pickling.py, only used by
`test_gpu_with_dask.py`"""
import json
import os

View File

@@ -1,4 +1,5 @@
"""Test model IO with pickle."""
import os
import pickle
import subprocess

View File

@@ -1,4 +1,5 @@
"""Tests for running inplace prediction."""
from concurrent.futures import ThreadPoolExecutor
import numpy as np

View File

@@ -1,4 +1,5 @@
"""Copyright 2019-2023, XGBoost contributors"""
import asyncio
import json
from collections import OrderedDict

View File

@@ -1,4 +1,5 @@
"""Copyright 2019-2022 XGBoost contributors"""
import asyncio
import json
import os