Skip to content

Commit

Permalink
pin Black version and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gokselcoban committed Apr 17, 2023
1 parent bf89824 commit 4978909
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 black py-algorand-sdk==${{ matrix.py-algorand-sdk-version }}
pip install flake8 black==23.3.0 py-algorand-sdk==${{ matrix.py-algorand-sdk-version }}
- name: Run flake8
run: flake8 ${{ github.workspace }} --ignore=E501,F403,F405,E126,E121,W503,E203
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
exclude: ^(env|venv)

- repo: https://github.com/psf/black
rev: 22.8.0
rev: 23.3.0
hooks:
- id: black
args: ['.', '--check']
Expand Down
1 change: 0 additions & 1 deletion tinyman/swap_router/management.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def prepare_claim_extra_transactions(
suggested_params: SuggestedParams,
app_call_note: Optional[str] = None,
) -> TransactionGroup:

claim_extra_app_call = ApplicationNoOpTxn(
sender=sender,
sp=suggested_params,
Expand Down
1 change: 0 additions & 1 deletion tinyman/swap_router/swap_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def prepare_swap_router_asset_opt_in_transaction(
user_address: str,
suggested_params: SuggestedParams,
) -> TransactionGroup:

asset_opt_in_app_call = ApplicationNoOpTxn(
sender=user_address,
sp=suggested_params,
Expand Down
1 change: 0 additions & 1 deletion tinyman/v2/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ def prepare_bootstrap_transactions(
refresh: bool = True,
suggested_params: SuggestedParams = None,
) -> TransactionGroup:

user_address = user_address or self.client.user_address

if refresh:
Expand Down

0 comments on commit 4978909

Please sign in to comment.