Skip to content

Format and check code with ruff/pyright.#4

Merged
gerasiov merged 1 commit intomainfrom
reformat-with-ruff
Dec 11, 2025
Merged

Format and check code with ruff/pyright.#4
gerasiov merged 1 commit intomainfrom
reformat-with-ruff

Conversation

@gerasiov
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 11, 2025 17:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR applies automated code formatting using ruff and adds type checking with pyright. The changes standardize string quotes from single to double quotes throughout the file, improve code formatting with better line breaks and indentation, and add type safety improvements including an assertion for nullable field access.

Key changes:

  • Standardized all string literals to use double quotes instead of single quotes
  • Reformatted long function calls and definitions for better readability
  • Added type safety check for config.network6 before usage
  • Fixed typo: radnom_partrandom_part

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gerasiov gerasiov enabled auto-merge (rebase) December 11, 2025 18:01
@gerasiov gerasiov merged commit 9912919 into main Dec 11, 2025
4 checks passed
@gerasiov gerasiov deleted the reformat-with-ruff branch December 11, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant