FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

skpkg: pre-commit auto fixes with line length of 79 by cadenmyers13 · Pull Request #57 · diffpy/diffpy.srreal · GitHub

Repository navigation

skpkg: pre-commit auto fixes with line length of 79 - #57

Merged
sbillinge merged 6 commits into
diffpy:cookiefrom
cadenmyers13:pc-blackv2
Jun 24, 2025
Merged

sbillinge merged 6 commits into
diffpy:cookiefrom
cadenmyers13:pc-blackv2

Conversation

cadenmyers13 commented Jun 23, 2025 •
edited
Loading

Copy link
Copy Markdown
Contributor

The last autofix PR had a black linelength requirement of 115. This PR changes this to 79 (skpkg standard) and makes those auto fixes.

There are only two flake8 errors that need to be addressed regarding line length. Because these are simple and quick, I will also put them on this PR and make note inline of where exactly I made these manual fixes.

Comment thread setup.py
raise EnvironmentError(
"CONDA_PREFIX is not set. Please install ObjCryst using conda and activate the environment."
"CONDA_PREFIX is not set. "
"Please install ObjCryst using conda and activate the environment."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Manual line length fix (1 of 2 fixes)

Comment thread setup.py
continue
# strip a leading "lib" so that setuptools does -lObjCryst, not -llibObjCryst
# strip a leading "lib"
# so that setuptools does -lObjCryst, not -llibObjCryst

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

manual line length fix (2 of 2 fixes)

Copy link
Copy Markdown
Contributor Author

I also incorporated docformatting autofixes here since they werent in the pyproject.toml

Copy link
Copy Markdown
Contributor Author

@sbillinge ready for review

sbillinge merged commit 4f3d0df into diffpy:cookie Jun 24, 2025
cadenmyers13 deleted the pc-blackv2 branch June 24, 2025 17:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL