-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix typos and link update #2453
Conversation
Signed-off-by: snoppy <[email protected]>
WalkthroughThe recent updates primarily focus on correcting typographical errors in comments and updating URLs across various documentation and code files in the Slither project. These refinements enhance clarity and ensure that external links point to the correct OpenAI platform. Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (4)
Files skipped from review due to trivial changes (2)
Additional Context UsedLanguageTool (4)
Ruff (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Out of diff range and nitpick comments (2)
slither/visitors/slithir/expression_to_slithir.py (2)
Line range hint
195-195
: Useis not
for object identity tests to adhere to Python best practices.- not left[idx] is None + left[idx] is not None
Line range hint
211-211
: Useis not
for object identity tests to adhere to Python best practices.- if not left[idx] is None: + if left[idx] is not None:
@@ -1,5 +1,5 @@ | |||
# slither-documentation | |||
|
|||
`slither-documentation` uses [codex](https://beta.openai.com) to generate natspec documenation. | |||
`slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documenation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize the first letter of the sentence for consistency and professionalism.
- `slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documenation.
+ `Slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documentation.
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
`slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documenation. | |
`Slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documentation. |
Correct the spelling of "documentation."
- `slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documenation.
+ `slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documentation.
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
`slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documenation. | |
`slither-documentation` uses [codex](https://platform.openai.com) to generate natspec documentation. |
@@ -188,7 +188,7 @@ def _post_assignement_operation(self, expression: AssignmentOperation) -> None: | |||
right = get(expression.expression_right) | |||
operation: Operation | |||
if isinstance(left, list): # tuple expression: | |||
if isinstance(right, list): # unbox assigment | |||
if isinstance(right, list): # unbox assignment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the comment to correct the typo from "assignement" to "assignment."
- def _post_assignement_operation(self, expression: AssignmentOperation) -> None:
+ def _post_assignment_operation(self, expression: AssignmentOperation) -> None:
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
if isinstance(right, list): # unbox assignment | |
if isinstance(right, list): # unbox assignment |
fix some typos and link update
Summary by CodeRabbit
Documentation
beta.openai.com
toplatform.openai.com
.Bug Fixes