Skip to content

call_arg_parentheses = always not working for string arguments when quote_style = double #186

Closed
@alex-courtis

Description

@alex-courtis

Possibly related: #179

Correct

call_arg_parentheses = always functions correctly, adding parentheses to all calls:

call_arg_parentheses = always
foo 'a'
foo "b"
foo {}

is formatted as

foo('a')
foo("b")
foo({})

Incorrect

Adding a quote_style results in incorrect formatting for strings only:

quote_style = double
call_arg_parentheses = always
foo 'a'
foo "b"
foo {}

is formatted as

foo"a"
foo"b"
foo({})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions