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

use_tabs=True causes tabs-space mix #967

Open
spaceone opened this issue Oct 7, 2021 · 1 comment · May be fixed by #970
Open

use_tabs=True causes tabs-space mix #967

spaceone opened this issue Oct 7, 2021 · 1 comment · May be fixed by #970

Comments

@spaceone
Copy link

spaceone commented Oct 7, 2021

[style]
based_on_style=pep8
use_tabs=True
column_limit = 200 

with

class CLI(object):
»   def __init__(self):
»   »   self.modes = { 
»   »   »   'request': self.request,
»   »   »   'response': self.response,
»   »   »   'parse': { 
»   »   »   »   'request': self.parse_request,
»   »   »   »   'response': self.parse_response,
»   »   »   }
»   »   }

causes tab-space mix:

class CLI(object):
»   def __init__(self):
»   »   self.modes = {
»   »       'request': self.request,
»   »       'response': self.response,
»   »       'parse': {
»   »           'request': self.parse_request,
»   »           'response': self.parse_response,
»   »       }
»   »   }

note: » represents a tab.

@spaceone
Copy link
Author

spaceone commented Oct 7, 2021

suggested draft for a fix: #970

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

Successfully merging a pull request may close this issue.

1 participant