Why format differently, using vscode extension: Same version, Different os platform #21280
-
|
my local os+entension version is(mac os): my remote os+exrension version is(ubuntu): same code: fieldA = models.CharField(verbose_name='fieldAAA', max_length=1024, null=True, default=None, blank=True, db_index=False)
fieldB = models.IntegerField(verbose_name='fieldBBB', max_length=32, null=True, default=0, db_index=False)
def my_func(arg_one, arg_two, arg_three):
pass
...local format as: fieldB = models.IntegerField(
verbose_name='fieldB',
default=0
)but on remote left unchanged. Why ruff act differently with same version & config? local and remote using same vscode settings: same ruff settings: |
Beta Was this translation helpful? Give feedback.
Answered by
MichaReiser
Nov 6, 2025
Replies: 1 comment 3 replies
-
|
Hi @CYx-HHH I'll need a few more information to help you:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh nice find. Yes, a trailing
commaforces the line to split. You can change this behavior usingskip-magic-trailing-comma