feat(order_utils.py): sign_hash() (#1254)
Also moved is_valid_signature() into main package module, for simplicity. Also consolidated a handul of in-line pylint disable directives into the .pylintrc config file.
This commit is contained in:
@@ -24,7 +24,6 @@ class TestCommandExtension(TestCommand):
|
||||
exit(pytest.main())
|
||||
|
||||
|
||||
# pylint: disable=too-many-ancestors
|
||||
class LintCommand(distutils.command.build_py.build_py):
|
||||
"""Custom setuptools command class for running linters."""
|
||||
|
||||
@@ -90,7 +89,6 @@ class CleanCommandExtension(clean):
|
||||
rmtree("src/0x_order_utils.egg-info", ignore_errors=True)
|
||||
|
||||
|
||||
# pylint: disable=too-many-ancestors
|
||||
class TestPublishCommand(distutils.command.build_py.build_py):
|
||||
"""Custom command to publish to test.pypi.org."""
|
||||
|
||||
@@ -108,7 +106,6 @@ class TestPublishCommand(distutils.command.build_py.build_py):
|
||||
)
|
||||
|
||||
|
||||
# pylint: disable=too-many-ancestors
|
||||
class PublishCommand(distutils.command.build_py.build_py):
|
||||
"""Custom command to publish to pypi.org."""
|
||||
|
||||
@@ -119,7 +116,6 @@ class PublishCommand(distutils.command.build_py.build_py):
|
||||
subprocess.check_call("twine upload dist/*".split()) # nosec
|
||||
|
||||
|
||||
# pylint: disable=too-many-ancestors
|
||||
class GanacheCommand(distutils.command.build_py.build_py):
|
||||
"""Custom command to publish to pypi.org."""
|
||||
|
||||
|
Reference in New Issue
Block a user