cool-easter-32542
01/10/2024, 2:10 AMpants fmt command, the formatting results of isort do not adhere to PEP8 standards.
With IDE isort extensions, from VScode and PyCharm, are working well that I expected.
How to solve this problem?
Pants version
• 2.16
OS
• Linux Ubuntu 22.04.3 LTS
Additional info
• isort version: 5.12.0
When formatting..
• Expected result
import argparse
import datetime
import logging
import os
import time
from http import HTTPStatus
from typing import Callable
import tensorflow as tf
import uvicorn
from fastapi import FastAPI, Request
from fastapi.responses import Response
from lib.logging import set_logger_from_config << here
from ... < 1st parties
• Unexpected result (w/ pants fmt)
import argparse
import datetime
import logging
import os
import time
from http import HTTPStatus
from typing import Callable
import tensorflow as tf
import uvicorn
from fastapi import FastAPI, Request
from fastapi.responses import Response
from lib.logging import set_logger_from_config << here
from ... < 1st parties
pantsbuild/pantscool-easter-32542
01/10/2024, 6:26 AM