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

SIM117 causes space-tab mix #2220

Closed
spaceone opened this issue Jan 26, 2023 · 1 comment · Fixed by #2223
Closed

SIM117 causes space-tab mix #2220

spaceone opened this issue Jan 26, 2023 · 1 comment · Fixed by #2223
Assignees
Labels
bug Something isn't working fixes Related to suggested fixes for violations

Comments

@spaceone
Copy link
Contributor

SIM117 transforms

with open() as fd:
	with open() as fd2:
		foo(
			1,
			2,
			3,
		)

(which is indented with tabs only)

into

with open() as fd, open() as fd2:
    foo(
    	1,
    	2,
    	3,
    )

(which has a tab+space indentation mixed).

@charliermarsh charliermarsh added bug Something isn't working fixes Related to suggested fixes for violations labels Jan 26, 2023
@charliermarsh charliermarsh self-assigned this Jan 26, 2023
@charliermarsh
Copy link
Member

Taking a look at this now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants