Skip to content

Commit 0cb8789

Browse files
committed
chore: Bump isort and flake
1 parent c1ee0d1 commit 0cb8789

6 files changed

Lines changed: 22 additions & 24 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ repos:
33
rev: 19.3b0
44
hooks:
55
- id: black
6-
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v2.4.0
6+
7+
- repo: https://gitlab.com/pycqa/flake8
8+
rev: 3.8.4
89
hooks:
910
- id: flake8
10-
- repo: https://github.com/pre-commit/mirrors-isort
11-
rev: v4.3.21
11+
- repo: https://github.com/PyCQA/isort
12+
rev: 5.7.0
1213
hooks:
1314
- id: isort
1415

1516
default_language_version:
16-
python: python3.8
17+
python: python3.8

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Curve allows users to trade between correlated cryptocurrencies with a bespoke l
1212

1313
### Dependencies
1414

15-
* [python3](https://www.python.org/downloads/release/python-368/) from version 3.6 to 3.8, python3-dev
16-
* [brownie](https://github.com/iamdefinitelyahuman/brownie) - tested with version [1.12.0](https://github.com/eth-brownie/brownie/releases/tag/v1.12.0)
17-
* [ganache-cli](https://github.com/trufflesuite/ganache-cli) - tested with version [6.11.0](https://github.com/trufflesuite/ganache-cli/releases/tag/v6.11.0)
18-
* [brownie-token-tester](https://github.com/iamdefinitelyahuman/brownie-token-tester) - tested with version [0.0.3](https://github.com/iamdefinitelyahuman/brownie-token-tester/releases/tag/v0.0.3)
15+
- [python3](https://www.python.org/downloads/release/python-368/) from version 3.6 to 3.8, python3-dev
16+
- [brownie](https://github.com/iamdefinitelyahuman/brownie) - tested with version [1.12.0](https://github.com/eth-brownie/brownie/releases/tag/v1.12.0)
17+
- [ganache-cli](https://github.com/trufflesuite/ganache-cli) - tested with version [6.11.0](https://github.com/trufflesuite/ganache-cli/releases/tag/v6.11.0)
18+
- [brownie-token-tester](https://github.com/iamdefinitelyahuman/brownie-token-tester) - tested with version [0.1.0](https://github.com/iamdefinitelyahuman/brownie-token-tester/releases/tag/v0.1.0)
1919

2020
Curve contracts are compiled using [Vyper](https://github.com/vyperlang/vyper), however installation of the required Vyper versions is handled by Brownie.
2121

@@ -31,8 +31,8 @@ pip install -r requirements.txt
3131

3232
### Organization and Workflow
3333

34-
* New Curve pools are built from the contract templates at [`contracts/pool-templates`](contracts/pool-templates)
35-
* Once deployed, the contracts for a pool are added to [`contracts/pools`](contracts/pools)
34+
- New Curve pools are built from the contract templates at [`contracts/pool-templates`](contracts/pool-templates)
35+
- Once deployed, the contracts for a pool are added to [`contracts/pools`](contracts/pools)
3636

3737
See the documentation within [`contracts`](contracts) and it's subdirectories for more detailed information on how to get started developing on Curve.
3838

@@ -62,19 +62,19 @@ To deploy a new pool:
6262
2. Edit the configuration settings within [`scripts/deploy.py`](scripts/deploy.py).
6363
3. Test the deployment locally against a forked mainnet.
6464

65-
```bash
66-
brownie run deploy --network mainnet-fork -I
67-
```
65+
```bash
66+
brownie run deploy --network mainnet-fork -I
67+
```
6868

69-
When the script completes it will open a console. You should call the various getter methods on the deployed contracts to ensure the pool has been configured correctly.
69+
When the script completes it will open a console. You should call the various getter methods on the deployed contracts to ensure the pool has been configured correctly.
7070

7171
4. Deploy the pool to the mainnet.
7272

73-
```bash
74-
brownie run deploy --network mainnet
75-
```
73+
```bash
74+
brownie run deploy --network mainnet
75+
```
7676

77-
Be sure to open a pull request that adds the deployment addresses to the pool `README.md`.
77+
Be sure to open a pull request that adds the deployment addresses to the pool `README.md`.
7878

7979
## Audits and Security
8080

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
black==19.10b0
22
eth-brownie>=1.13.0,<2.0.0
3-
flake8==3.7.9
4-
isort==4.3.21
3+
flake8==3.8.4
4+
isort==5.7.0
55
brownie-token-tester>=0.1.0

tests/pools/aave/integration/test_curve_aave.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pytest
55
from brownie.test import given, strategy
66
from hypothesis import settings
7-
87
from simulation import Curve
98

109
pytestmark = pytest.mark.skip_meta

tests/pools/aave/integration/test_simulate_exchange_aave.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pytest
22
from brownie.test import given, strategy
33
from hypothesis import settings
4-
54
from simulation import Curve
65

76
# do not run this test on pools without lending or meta pools

tests/pools/common/integration/test_simulate_exchange.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pytest
22
from brownie.test import given, strategy
33
from hypothesis import settings
4-
54
from simulation import Curve
65

76
# do not run this test on pools without lending or meta pools

0 commit comments

Comments
 (0)