Skip to content

Commit

Permalink
Minor docstring, delimiter, and whitespace adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapets committed May 14, 2023
1 parent a147efc commit bf761af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test-cover-docs-build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
run: |
mkdir rbcl-wheelhouse
move wheelhouse\rbcl*.whl rbcl-wheelhouse\${{ env.WHEELNAME }}.whl
shell: cmd
shell: cmd
- uses: actions/upload-artifact@v1
with:
name: ${{ env.WHEELNAME }}
Expand Down
2 changes: 1 addition & 1 deletion src/rbcl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Gives users direct access to functions."""
"""Allow users to use functions directly."""
from rbcl.rbcl import _sodium # pylint: disable=import-self

from rbcl.rbcl import \
Expand Down
4 changes: 2 additions & 2 deletions src/rbcl/_sodium.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ sodium_bs = bytes.fromhex('{{{SODIUM_HEX}}}') # pylint: disable=line-too-long
which_os = platform.system()

# Generate a temporary file on disk and write the libsodium binary to it.
LIB_EXT = ".pyd" if which_os == "Windows" else ".so"
LIB_EXT = '.pyd' if which_os == 'Windows' else '.so'
lib_path = tempfile.NamedTemporaryFile( # pylint: disable=consider-using-with
suffix=LIB_EXT,
delete=False
).name
sodium_tmp = open(lib_path, "wb") # pylint: disable=consider-using-with
sodium_tmp = open(lib_path, 'wb') # pylint: disable=consider-using-with
sodium_tmp.write(sodium_bs)

# Close temporary file to avoid multiprocess access error on Windows.
Expand Down

0 comments on commit bf761af

Please sign in to comment.