Skip to content

TST/STYLE: concatenate string literals post black reformatting #27281

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

Merged
merged 1 commit into from
Jul 8, 2019

Conversation

simonjayhawkins
Copy link
Member

No description provided.

@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite Code Style Code style, linting, code_checks labels Jul 7, 2019
@jreback
Copy link
Contributor

jreback commented Jul 7, 2019

do these pass line length? you might need to use parens and split on lines

@simonjayhawkins
Copy link
Member Author

do these pass line length? you might need to use parens and split on lines

should pass black lint rule. is that what you mean?

@jreback
Copy link
Contributor

jreback commented Jul 7, 2019

is the flake rule in setup.cfg updated? to 79

with pytest.raises(
AttributeError,
match="Can only use .str " "accessor with string values.*",
):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the black code style applied, I'm now beginning to prefer this layout rather than having the msg= on the previous line.

we currently did this where line length was an issue.

@simonjayhawkins
Copy link
Member Author

is the flake rule in setup.cfg updated? to 79

am I missing something? we're using 88 and black ignores that sometimes anyway.

@jreback
Copy link
Contributor

jreback commented Jul 7, 2019

actually we r using the black default which is 88
so ok

@jreback jreback added this to the 0.25.0 milestone Jul 8, 2019
@jreback jreback merged commit 4dc2b69 into pandas-dev:master Jul 8, 2019
@jreback
Copy link
Contributor

jreback commented Jul 8, 2019

thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the post-black-reformat branch July 8, 2019 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants