Skip to content

Commit

Permalink
forced libsecp256k1 and assorted minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fametrano committed Feb 1, 2023
1 parent ebdb51e commit f1d12da
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
29 changes: 14 additions & 15 deletions .pre-commit-config.yaml
Expand Up @@ -39,14 +39,6 @@ repos:
- id: copyright-notice
args: [--notice=COPYRIGHT]
files: python
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
# exclude: *fixtures
language: python
types: [python]
- repo: https://github.com/PyCQA/autoflake
rev: v2.0.0
hooks:
Expand All @@ -61,6 +53,14 @@ repos:
- --remove-rhs-for-unused-variables
language: python
types: [python]
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
# exclude: *fixtures
language: python
types: [python]
- repo: https://github.com/pycqa/isort
rev: 5.11.4
hooks:
Expand Down Expand Up @@ -96,6 +96,12 @@ repos:
- id: yesqa
language: python
types: [python]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
language: python
types: [python]
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
Expand All @@ -109,12 +115,6 @@ repos:
# language_version: python3.11
language: python
types: [python]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
language: python
types: [python]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
Expand Down Expand Up @@ -142,7 +142,6 @@ repos:
hooks:
- id: pylint
args: [
"--score=false",
"--disable=E0401", # import-error
]
language: python
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Expand Up @@ -13,8 +13,6 @@ exclude = [
profile = "black"

[tool.docformatter]
recursive = true
blank = false
in-place = true

[tool.pydocstyle]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -38,8 +38,8 @@
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
# test_suite="btclib.tests",
# install_requires=[],
extras_require={"secp256k1": ["btclib_libsecp256k1==0.1.0"]},
install_requires=["btclib_libsecp256k1"],
# extras_require={"secp256k1": ["btclib_libsecp256k1"]},
keywords=(
"bitcoin cryptography elliptic-curves ecdsa schnorr RFC-6979 "
"bip32 bip39 electrum base58 bech32 segwit message-signing "
Expand Down

0 comments on commit f1d12da

Please sign in to comment.