Skip to content

Better logging and testing#16

Merged
brainelectronics merged 5 commits into
mainfrom
feature/better-logging-and-testing
May 1, 2026
Merged

Better logging and testing#16
brainelectronics merged 5 commits into
mainfrom
feature/better-logging-and-testing

Conversation

@brainelectronics
Copy link
Copy Markdown
Owner

Added

  • Extended documentation for pre-commit installation and usage
  • nose2 pre-commit hook
  • Extend logging usage for better debugging with cleaner log messages
  • requirements-deploy-lock.txt capturing the current dependency package versions used

Changed

  • Updated pre-commit hook versions of flake8 and yamllint
  • Using --pretty provides a better human readable diff output
  • Instead of finally raising a SystemExit if the validation failed, the message is printed to stderr before writing the diff to stdout.
  • The message of a mismatch between setup.py and package JSON file data is only printed when using --pretty to make the output machine readable.
  • The diff of the validation is returned with verbose level 2

Fixed

  • Add missing type and parameter docstring for package_file_glob in Setup2uPyPackage

@brainelectronics brainelectronics self-assigned this May 1, 2026
@brainelectronics brainelectronics added documentation Improvements or additions to documentation enhancement New feature or request labels May 1, 2026
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (22f3b43) to head (c45d155).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            1         1           
=========================================
  Hits             1         1           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Owner Author

@brainelectronics brainelectronics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMyself

@brainelectronics brainelectronics merged commit 2ddcd71 into main May 1, 2026
6 checks passed
@brainelectronics brainelectronics deleted the feature/better-logging-and-testing branch May 1, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants