-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: threads in ping tests would hang indefinitely. (#207)
* (1) add hook that syncs pre-commit with poetry dependenceis (2) feat: Network.from_chain_id() fn (3) build: update dependencies * build: Google Colab supports 3.8 - test: replace ping tests with requests.get calls on the rpc, lcd, and grpc - chore: update dependencies * try TX.SYNC again * revert: SYNC is troll * try using 'get_sequence_from_node' * try setting 'get_sequence_from_node=True' as the default * try waiting a block between account sequence mismatch errors * fix: recovered isort and updated deps versions --------- Co-authored-by: Oleg Nikonychev <[email protected]>
- Loading branch information
1 parent
0f2d179
commit 437afb3
Showing
13 changed files
with
246 additions
and
213 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 |
---|---|---|
@@ -1,29 +1,34 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.1.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
exclude: nibiru/proto/.+ | ||
|
||
- id: trailing-whitespace | ||
exclude: nibiru/proto/.+ | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
files: \.py$ | ||
- repo: https://github.com/floatingpurr/sync_with_poetry | ||
rev: "0.4.0" # the revision or tag to clone at | ||
hooks: | ||
- id: sync_with_poetry | ||
args: [] # optional args | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
exclude: nibiru/proto/.+ | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
files: \.py$ | ||
- id: trailing-whitespace | ||
exclude: nibiru/proto/.+ | ||
args: ["--profile", "black"] | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/psf/black | ||
rev: 22.12.0 | ||
hooks: | ||
- id: black | ||
files: \.py$ | ||
exclude: nibiru/proto/.+ | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
files: \.py$ | ||
exclude: nibiru/proto/.+ | ||
args: [ "--profile", "black" ] | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.7.16 | ||
3.8.16 |
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
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
Oops, something went wrong.