Detect and warn on annotations directly on wildcard types#1579
Conversation
|
This change is part of the following stack:
Change managed by git-spice. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1579 +/- ##
============================================
- Coverage 88.20% 88.19% -0.02%
- Complexity 2938 2947 +9
============================================
Files 104 104
Lines 9819 9842 +23
Branches 1977 1982 +5
============================================
+ Hits 8661 8680 +19
- Misses 558 560 +2
- Partials 600 602 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
02032b9 to
6b46cae
Compare
d0cc24e to
f4fc049
Compare
6b46cae to
e046e3c
Compare
f4fc049 to
40e3a5b
Compare
e046e3c to
5d6301c
Compare
40e3a5b to
6336f26
Compare
5d6301c to
9c7885b
Compare
6336f26 to
a86bdaa
Compare
9c7885b to
b365629
Compare
a86bdaa to
7caffde
Compare
b365629 to
8eefd6b
Compare
7caffde to
678cd58
Compare
8eefd6b to
f4da62e
Compare
678cd58 to
d1a13d3
Compare
f4da62e to
a877763
Compare
d1a13d3 to
5718e6f
Compare
a877763 to
d790baf
Compare
5718e6f to
152e17c
Compare
d790baf to
d9c9900
Compare
152e17c to
94591a0
Compare
d9c9900 to
4f9db4f
Compare
94591a0 to
aa0dbfb
Compare
4f9db4f to
86870e5
Compare
aa0dbfb to
44c56e1
Compare
86870e5 to
5244672
Compare
44c56e1 to
1265591
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThis PR adds detection and reporting of nullness annotations ( Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5244672 to
fda7118
Compare
1265591 to
4e21ef7
Compare
4e21ef7 to
9e0debd
Compare
See https://jspecify.dev/docs/spec/#recognized-type-use. I've seen this issue in real code, and developers may be confused if we just ignore, so I think we should give a warning. We should consider warning on other unrecognized locations for nullness annotations when in JSpecify mode.
Summary by CodeRabbit
Release Notes
New Features
Tests