-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: restructure project #6
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
Conversation
Reviewer's GuideRestructures the project from nested java-api/java-api-stubs packages into a flat src/ and stubs/ layout, updates tooling/config paths accordingly, modernizes tox and mypy wiring, and refreshes documentation to match the new structure and packaging story. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey there - I've reviewed your changes - here's some feedback:
- The
.devcontainer.jsonfile is now effectively empty; if devcontainer support is still desired, consider either restoring its previous configuration with updated paths or removing the file entirely to avoid confusion.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The `.devcontainer.json` file is now effectively empty; if devcontainer support is still desired, consider either restoring its previous configuration with updated paths or removing the file entirely to avoid confusion.
## Individual Comments
### Comment 1
<location> `README.md:39-40` </location>
<code_context>
+### Installing with `pip`
+
+> [!NOTE]
+> For the stubs for this packages, look for [`java-api-stubs`].
+
+The preferred method is to install it by running `pip`. It requires Python
</code_context>
<issue_to_address>
**issue (typo):** Fix grammar in note about stubs package.
Please update the note to use the singular form, e.g. "For the stubs for this package" or "For stub files for this package," to correct the grammar and improve clarity.
```suggestion
> [!NOTE]
> For stub files for this package, look for [`java-api-stubs`].
```
</issue_to_address>
### Comment 2
<location> `README.md:35` </location>
<code_context>
+
+## Installation and usage
+
+To use java-api, you may install it by doing any of the following.
+
+### Installing with `pip`
</code_context>
<issue_to_address>
**suggestion (typo):** Clarify wording about installation methods.
Since only pip installation is documented, consider changing "any of the following" to "the following" or "the following method" to avoid implying multiple options.
```suggestion
To use java-api, you may install it using the following method.
```
</issue_to_address>
### Comment 3
<location> `README.md:49` </location>
<code_context>
+python2 -m pip install java-api
+```
+
+This will install it as package to your Python installation, which will allow
+you to call Ignition Scripting functions from Python's REPL, and get code
+completion using an IDE such as PyCharm and Visual Studio Code.
</code_context>
<issue_to_address>
**issue (typo):** Improve grammar in description of installation result.
Consider rephrasing to: “This will install it as a package in your Python installation,” to correct the article and preposition.
```suggestion
This will install it as a package in your Python installation, which will allow
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| python2 -m pip install java-api | ||
| ``` | ||
|
|
||
| This will install it as package to your Python installation, which will allow |
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.
issue (typo): Improve grammar in description of installation result.
Consider rephrasing to: “This will install it as a package in your Python installation,” to correct the article and preposition.
| This will install it as package to your Python installation, which will allow | |
| This will install it as a package in your Python installation, which will allow |
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Summary by Sourcery
Restructure the project layout and tooling around a single top-level java-api package and stubs subpackage, and update documentation to match.
Build:
CI:
Documentation:
Chores: