-
-
Notifications
You must be signed in to change notification settings - Fork 2
test(tox): remove root tox.ini #253
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
move it back to each package
Reviewer's GuideThis PR migrates the repository-level tox configuration into the pkg directory, updates CI workflows to invoke tox from the new locations, and adds a per-package changelog stub. Class diagram for new pkg/tox.ini test environmentsclassDiagram
class ToxConfig {
+env_list: install, typecheck
}
class TestEnvInstall {
+description: install package
+base_python: python2.7
}
class TestEnvTypecheck {
+description: run type check on code base
+base_python: python3.12
+commands: mypy src
}
class TestEnvStubgen {
+description: generate stubs
+base_python: python3.12
+commands: stubgen --export-less --output=../incendium-stubs/stubs src
}
class TestEnvStyle {
+description: apply style
+base_python: python3.12
+commands: sort-all, ssort, black, unimport, isort, flake8, pydocstyle
}
ToxConfig --> TestEnvInstall
ToxConfig --> TestEnvTypecheck
ToxConfig --> TestEnvStubgen
ToxConfig --> TestEnvStyle
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 @cesarcoatl - I've reviewed your changes and they look great!
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location> `pkg/tox.ini:58` </location>
<code_context>
+[type]
+base_python = python3.12
+deps =
+ ignition-api-stubs
\ No newline at end of file
</code_context>
<issue_to_address>
Dependency on ignition-api-stubs is not version-pinned.
Please specify a version or version range for ignition-api-stubs to ensure build stability and reproducibility.
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| [type] | ||
| base_python = python3.12 | ||
| deps = | ||
| ignition-api-stubs No newline at end of 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.
suggestion (bug_risk): Dependency on ignition-api-stubs is not version-pinned.
Please specify a version or version range for ignition-api-stubs to ensure build stability and reproducibility.
add isort hook for stubs style stubs
move it back to each package
Summary by Sourcery
Move Tox configuration from the project root into each package and update CI workflows accordingly
Enhancements:
CI:
Documentation: