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

DM-35347: Switch to pyproject.toml #46

Merged
merged 3 commits into from Jul 15, 2022
Merged

DM-35347: Switch to pyproject.toml #46

merged 3 commits into from Jul 15, 2022

Conversation

mwittgen
Copy link
Contributor

No description provided.

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for sorting out black/isort. Can you also please add a pre-commit configuration?

requires = [
"setuptools >= 46.6.0",
"setuptools",
"lsst-versions >= 1.3.0",
"wheel",
"pybind11 >= 2.5.0",
"numpy >= 1.18",
Copy link
Member

Choose a reason for hiding this comment

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

Is this because we need the numpy C header files for the build with pybind11?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

line-length = 110
target-version = ["py38"]

[tool.isort]
Copy link
Member

Choose a reason for hiding this comment

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

Oh, we hadn't run isort or black before. That explains the failures. Please fix the formatting problems.

@mwittgen mwittgen force-pushed the tickets/DM-35347 branch 2 times, most recently from 3c945a0 to 6aa91cf Compare July 14, 2022 22:25
@mwittgen
Copy link
Contributor Author

Reordered commits to have all black/isort changes in one. Added .git-blame-ignore-revs

@mwittgen mwittgen merged commit 0e49bb9 into main Jul 15, 2022
@mwittgen mwittgen deleted the tickets/DM-35347 branch July 15, 2022 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants