Skip to content

Commit

Permalink
(fix) fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 26, 2023
1 parent f80097e commit cd4239f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ def build_extensions(self):
# ABI?: py_limited_api=True,
)

extension.extra_compile_args = [str(subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1']))] # noqa S603
extension.extra_compile_args = [
str(subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1'])) # noqa S603
]
extension.extra_link_args = [
str(subprocess.check_output(['pkg-config', '--libs-only-L', 'libsecp256k1'])), # noqa S603
str(subprocess.check_output(['pkg-config', '--libs-only-l', 'libsecp256k1'])), # noqa S603
Expand Down
4 changes: 3 additions & 1 deletion setup_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def _find_lib():
if subprocess.check_output(['pkg-config', '--exists', 'libsecp256k1']): # noqa S603
return False

extension.extra_compile_args = [str(subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1']))] # noqa S603
extension.extra_compile_args = [
str(subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1'])) # noqa S603
]
extension.extra_link_args = [
str(subprocess.check_output(['pkg-config', '--libs-only-L', 'libsecp256k1'])), # noqa S603
str(subprocess.check_output(['pkg-config', '--libs-only-l', 'libsecp256k1'])), # noqa S603
Expand Down

0 comments on commit cd4239f

Please sign in to comment.