Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain COLUMN_LIMIT results in different formatting of function parameters #836

Open
char101 opened this issue May 3, 2020 · 0 comments

Comments

@char101
Copy link
Contributor

char101 commented May 3, 2020

Original code:

ohlc.rename({
    'date': 'Time',
    'open': 'Open',
    'high': 'High',
    'low': 'Low',
    'close': 'Close',
    'volume': 'Volume'
}, inplace=True)

Style:

[style]
based_on_style = pep8

Output:

ohlc.rename(
    {
        'date': 'Time',
        'open': 'Open',
        'high': 'High',
        'low': 'Low',
        'close': 'Close',
        'volume': 'Volume'
    },
    inplace=True)

Style:

[style]
based_on_style = pep8
COLUMN_LIMIT = 120

Output:

ohlc.rename({
    'date': 'Time',
    'open': 'Open',
    'high': 'High',
    'low': 'Low',
    'close': 'Close',
    'volume': 'Volume'
},
            inplace=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant