Skip to content

ci: enforce ty checks - #1435

Open
s3alfisc wants to merge 10 commits into
ty/analysis-helpersfrom
ci/ty-checks
Open

ci: enforce ty checks#1435
s3alfisc wants to merge 10 commits into
ty/analysis-helpersfrom
ci/ty-checks

Conversation

@s3alfisc

@s3alfisc s3alfisc commented Jul 31, 2026

Copy link
Copy Markdown
Member

Part 4 of the ty migration stack. Closes #1104.

Makes ty diagnostics strict and adds a dedicated CI lint job that runs the repository hook suite.

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.83333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...fixest/estimation/post_estimation/decomposition.py 71.42% 2 Missing ⚠️
Flag Coverage Δ
core-tests 78.34% <89.58%> (+1.13%) ⬆️
test-r-core 55.79% <77.08%> (+0.03%) ⬆️
test-r-extended 22.79% <39.58%> (+0.05%) ⬆️
test-r-fixest 44.76% <68.75%> (+0.04%) ⬆️

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

Files with missing lines Coverage Δ
pyfixest/did/did2s.py 89.62% <100.00%> (ø)
...xest/estimation/deprecated/model_matrix_fixest_.py 53.23% <100.00%> (+41.29%) ⬆️
pyfixest/estimation/formula/formulaic_compat.py 96.20% <100.00%> (+0.09%) ⬆️
pyfixest/estimation/formula/model_matrix.py 99.35% <100.00%> (-0.01%) ⬇️
pyfixest/estimation/formula/parse.py 94.70% <100.00%> (+0.03%) ⬆️
...ation/formula/transforms/fixed_effects_encoding.py 100.00% <100.00%> (ø)
pyfixest/estimation/internals/vcov_utils.py 93.87% <100.00%> (+0.74%) ⬆️
...fixest/estimation/post_estimation/fixed_effects.py 97.11% <100.00%> (+0.02%) ⬆️
pyfixest/estimation/post_estimation/multcomp.py 76.52% <100.00%> (+0.20%) ⬆️
pyfixest/estimation/quantreg/QuantregMulti.py 76.47% <100.00%> (ø)
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The rules demoted for the migration are back at their default level and the
allow-list names the actual dependencies, so an unresolved import from a new
package is reported rather than ignored.
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.

Type checks: move from mypy to ty

1 participant