Skip to content

Commit

Permalink
replace black with ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 25, 2023
1 parent 6a056a8 commit 066f89b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 81 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lint:
cargo clippy --no-default-features && cargo clippy && ruff python tests && mypy .

fmt:
cargo fmt && black .
cargo fmt && ruff format python tests.

serve:
python -m http.server -d docs/_build/html
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Status](https://github.com/kevinheavey/solders/workflows/CI/badge.svg)](https://github.com/kevinheavey/solders/actions?query=workflow%3ACI)
[![PyPI version](https://badge.fury.io/py/solders.svg)](https://badge.fury.io/py/solders)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/kevinheavey/solders/blob/main/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# Solders

Expand Down
77 changes: 1 addition & 76 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ based58 = "0.1.1"
bumpversion = "0.6.0"
"jsonalias" = "0.1.1"
ruff = "0.1.6"
black = "22.12.0"
mypy = "0.991"
pytest = "7.2.1"
pytest-asyncio = "^0.20.3"
Expand Down Expand Up @@ -55,7 +54,7 @@ python-source = "python"
reportMissingModuleSource = false

[tool.ruff]
line-length = 120
line-length = 88
select = ["A", "B", "D", "E", "F", "I", "ARG", "BLE", "C4", "SIM", "PLC", "PLE", "PLR", "PLW", "RUF"]
ignore = ["D203", "PLR0913"]

Expand Down
1 change: 0 additions & 1 deletion tests/test_versioned_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ def test_sanitize_with_empty_table_lookup(
def test_sanitize_with_max_account_keys(
default_header_with_one_req_signature: MessageHeader, default_message: MessageV0
) -> None:

MessageV0(
header=default_header_with_one_req_signature,
account_keys=[Pubkey.new_unique() for i in range(256)],
Expand Down

0 comments on commit 066f89b

Please sign in to comment.