Draft
Conversation
- Updated `pyproject.toml` to define project metadata and dependencies, including development dependencies for `ruff` and `ty`. - Added `ruff.toml` configuration file for linting settings and exclusions. - Refactored `setup.py` to align with new project structure and updated data files. - Reformatted test files for consistency and improved readability. - Added `uv.lock` to manage dependencies and versions for the project.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…y if needed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ff script Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements to code style, formatting, and configuration across the codebase, focusing on Python formatting, VSCode integration, and enhanced logging/error handling in launch and model files. The changes aim to standardize development practices, improve code readability, and ensure better error reporting.
Development environment and code style configuration:
.python-versionfile specifying Python 3.10 to standardize the Python version across environments..github/workflows/ruff.yml) to run Ruff for linting on push and pull requests, promoting consistent code style.astral-sh.tyandcharliermarsh.ruffextensions for Python linting/formatting. [1] [2].flake8configuration file, indicating a shift away from Flake8 in favor of Ruff for linting.Code formatting and logging improvements:
launch/launch_all_vehicles.launch.pyandlaunch/launch_site.launch.pyto use multi-line formatting for better readability, and improved error handling/logging throughout the node-building process. [1] [2] [3] [4] [5] [6]models/frame_member.pyandmodels/graph_member.py, using consistent double quotes and multi-line formatting for clarity. [1] [2]Code cleanup and consistency:
models/frame_utils.pyfor better readability and PEP8 compliance; also enhanced error messages and added line breaks for clarity in exception handling. [1] [2] [3]These updates collectively improve the maintainability, reliability, and developer experience of the project.