Skip to content

Commit d5a8fdb

Browse files
dguidoclaude
andcommitted
style: apply ruff formatting to solc_select.py
- Split long line in switch_global_version for readability - Fixes CI lint failure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 608890e commit d5a8fdb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

solc_select/solc_select.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ def switch_global_version(version: str, always_install: bool, silent: bool = Fal
219219
version = get_latest_release()
220220

221221
# Check version against platform minimum even if installed
222-
if version != "latest" and Version(version) < Version(EARLIEST_RELEASE[soliditylang_platform()]):
222+
if version != "latest" and Version(version) < Version(
223+
EARLIEST_RELEASE[soliditylang_platform()]
224+
):
223225
raise argparse.ArgumentTypeError(
224226
f"Invalid version - only solc versions above '{EARLIEST_RELEASE[soliditylang_platform()]}' are available"
225227
)

0 commit comments

Comments
 (0)