<#20386 `pants fmt`, `isort` does not follow PEP8>...
# github-notifications
c
#20386 `pants fmt`, `isort` does not follow PEP8 Issue created by eunseo0u0 Describe the bug When running the
pants 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
Copy code
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
)
Copy code
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/pants