-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable generate all protocol check
- Loading branch information
1 parent
affaf5f
commit e06ea03
Showing
4 changed files
with
66 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,6 @@ fix-abci-app-specs: | |
autonomy analyse fsm-specs --update --app-class MechAbciApp --package packages/valory/skills/mech_abci | ||
autonomy analyse fsm-specs --update --app-class TaskExecutionAbciApp --package packages/valory/skills/task_execution_abci | ||
echo "Successfully validated abcis!" | ||
|
||
protolint_install: | ||
GO111MODULE=on GOPATH=~/go go get -u -v github.com/yoheimuta/protolint/cmd/[email protected] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[flake8] | ||
paths=packages | ||
exclude=.md, | ||
*_pb2.py, | ||
*_pb2_grpc.py, | ||
custom_types.py, | ||
|
||
max-line-length = 88 | ||
select = B,C,D,E,F,I,W, | ||
ignore = E203,E501,W503,D202,B014,D400,D401,DAR | ||
application-import-names = packages,tests,scripts | ||
|
||
# ignore as too restrictive for our needs: | ||
# D400: First line should end with a period | ||
# D401: First line should be in imperative mood | ||
# E501: https://www.flake8rules.com/rules/E501.html (Line too long) | ||
# E203: https://www.flake8rules.com/rules/E203.html (Whitespace) | ||
# W503: https://www.flake8rules.com/rules/W503.html (Line break) | ||
# D202: blank lines | ||
# B014: redundant exception | ||
|
||
[isort] | ||
# for black compatibility | ||
multi_line_output=3 | ||
include_trailing_comma=True | ||
force_grid_wrap=0 | ||
use_parentheses=True | ||
ensure_newline_before_comments = True | ||
line_length=88 | ||
# custom configurations | ||
order_by_type=False | ||
case_sensitive=True | ||
lines_after_imports=2 | ||
skip=packages/valory/skills/abstract_round_abci/test_tools/integration.py,packages/valory/skills/transaction_settlement_abci/test_tools/integration.py, | ||
skip_glob = | ||
known_first_party=autonomy | ||
known_packages=packages | ||
known_local_folder=tests | ||
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,PACKAGES,LOCALFOLDER | ||
|
||
[mypy] | ||
python_version = 3.8 | ||
strict_optional = True | ||
exclude=(.*_pb2|.*custom_types) | ||
|
||
# Before adding a module here, make sure it does not support type hints | ||
# Per-module options for aea dir: | ||
|
||
[mypy-packages.valory.*] | ||
ignore_errors=True | ||
|
||
[mypy-packages.open_aea.*] | ||
ignore_errors=True | ||
|
||
[darglint] | ||
docstring_style=sphinx | ||
strictness=short | ||
ignore_regex=async_act | ||
ignore=DAR401 |