Skip to content

Align configs between lexical-graph and byokg-rag#163

Merged
iansrobinson merged 2 commits intoawslabs:mainfrom
mykola-pereyma:align-configs-lexical-byokg
Mar 25, 2026
Merged

Align configs between lexical-graph and byokg-rag#163
iansrobinson merged 2 commits intoawslabs:mainfrom
mykola-pereyma:align-configs-lexical-byokg

Conversation

@mykola-pereyma
Copy link
Copy Markdown
Contributor

Summary

Standardizes coverage, test, and build configs across both sub-projects to reduce drift and fix a packaging bug.

Changes

Coverage & test config alignment

  • Align byokg-rag .coveragerc with lexical-graph: add missing exclude_lines patterns (def __str__, @abc.abstractmethod, typing.TYPE_CHECKING, return NotImplemented, pass, ...)
  • Set sub-module specific fail_under thresholds (lexical-graph: 40, byokg-rag: 80)
  • Add HTML coverage report (--cov-report=html:htmlcov) to lexical-graph pyproject.toml to match byokg-rag
  • Remove pytest==8.4.2 from byokg-rag runtime requirements.txt — it was leaking into end-user installs as a transitive dependency

.gitignore consolidation

  • Delete redundant byokg-rag/.gitignore
  • Add dist/, build/, *.egg-info/ to root .gitignore to backfill coverage

Testing

No behavioral changes — config-only. CI coverage thresholds and exclude patterns will take effect on next test run.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Align byokg-rag .coveragerc with lexical-graph: add missing
  exclude_lines patterns (def __str__, @abc.abstractmethod,
  typing.TYPE_CHECKING, return NotImplemented, pass, ellipsis)
- Set sub-module specific fail_under thresholds (lexical-graph: 40,
  byokg-rag: 80)
- Remove pytest from byokg-rag runtime requirements.txt (test-only dep)
- Add HTML coverage report to lexical-graph pyproject.toml to match byokg-rag
- Remove redundant byokg-rag/.gitignore
- Add dist/, build/, *.egg-info/ to root .gitignore
Comment thread byokg-rag/.coveragerc
*/prompts/*

[report]
fail_under = 80
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
fail_under = 80
fail_under = 90

we're over 95% right now

@iansrobinson iansrobinson merged commit 12db9a9 into awslabs:main Mar 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants