You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
please change the following configurations in .pre-commit-config.yaml
run pre-commit run --all-files
change relevant files under chainlibpy/amino directory until pre-commit report no errors
configurations in .pre-commit-config.yaml to be changed
- id: mypy
# NOTE: this hook does NOT read "files" and "exclude" configs from mypy configuration files
files: ^chainlibpy/
- exclude: ^chainlibpy/(generated/|amino/) # TODO to fix type errors in amino directory+ exclude: ^chainlibpy/generated/
and
\- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- # TODO FIX chainlibpy/amino/message.py:284:5: A003 class attribute "id" is shadowing a python builtin- # when enable flake8-builtins option- # - flake8-builtins+ # - flake8-builtins
- flake8-comprehensions
The text was updated successfully, but these errors were encountered:
Once #40 is merged
.pre-commit-config.yaml
pre-commit run --all-files
chainlibpy/amino
directory untilpre-commit
report no errorsconfigurations in
.pre-commit-config.yaml
to be changedand
The text was updated successfully, but these errors were encountered: