Thanks for contributing to Java Inventory.
Install the required tools listed in the README, then initialize the project:
python java_inventory.py setupInstall pre-commit for the development hooks:
pip install pre-commit
pre-commit installUse the CLI directly while developing:
python java_inventory.py --helpRun the linter against your staged changes:
python java_inventory.py lint . --cachedFor changes to inventory or coverage behavior, also run the relevant command against the development test project.
For example:
python java_inventory.py test-coverage \
dev-test/src/main \
dev-test/src/testIf packaging code changes, verify a local build:
python build.pyKeep changes focused and describe:
- what changed;
- why it changed;
- how it was tested.
Include generated reports or build artifacts only when they are specifically useful for reviewing the change.