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

MNT Blackify the code base #96

Merged
merged 9 commits into from
Sep 24, 2021
Merged

MNT Blackify the code base #96

merged 9 commits into from
Sep 24, 2021

Conversation

jeremiedbb
Copy link
Collaborator

Proposed in #95. Done in a separate PR to not interfere with the other changes.

@jeremiedbb jeremiedbb changed the title Blackify the code base MNT Blackify the code base Sep 17, 2021
@jeremiedbb
Copy link
Collaborator Author

Seems good. I moved the lint job to pylatest_conda_forge for convenience.

Copy link
Contributor

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM but we could also add some config in pyproject.toml similarly to what we do in scikit-learn for instance:

[tool.black]
line-length = 88
target_version = ['py36', 'py37', 'py38', 'py39']
experimental_string_processing = true

to better control the behavior of black in case of changes.

@jeremiedbb
Copy link
Collaborator Author

I added the config in pyproject.toml. Let's merge

@jeremiedbb jeremiedbb merged commit 05ba3b4 into joblib:master Sep 24, 2021
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 this pull request may close these issues.

2 participants