-
Notifications
You must be signed in to change notification settings - Fork 21
skpkg: pre-commit auto fixes with line length of 79 #57
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
Conversation
@@ -52,7 +53,8 @@ def get_objcryst_libraries(): | |||
conda_prefix = os.environ.get("CONDA_PREFIX") | |||
if not conda_prefix: | |||
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." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manual line length fix (1 of 2 fixes)
@@ -64,7 +66,8 @@ def get_objcryst_libraries(): | |||
stem = Path(fn).stem | |||
if "objcryst" not in stem.lower(): | |||
continue | |||
# strip a leading "lib" so that setuptools does -lObjCryst, not -llibObjCryst | |||
# strip a leading "lib" | |||
# so that setuptools does -lObjCryst, not -llibObjCryst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manual line length fix (2 of 2 fixes)
I also incorporated docformatting autofixes here since they werent in the pyproject.toml |
@sbillinge ready for review |
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.