File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
29
30
30
### Fixed
31
31
32
+ - Patch doctests with TODOs in dependencies (#222).
32
33
- CI with OSS-Fuzz for the deprecated `actions/upload-artifact@v3` (#221).
33
34
- Bug where the `radix` feature wasn't enabling `power-of-two` in `lexical-core` or `lexical` (#204).
34
35
- Fixed performance issues due to a lack of inlining on the Eisel-Lemire algorithm (#210).
Original file line number Diff line number Diff line change @@ -159,8 +159,9 @@ async def validate_links() -> None:
159
159
if 'SKIP_LINKS' not in os .environ :
160
160
parser .feed (path .name , data )
161
161
if 'SKIP_TODO' not in os .environ :
162
- if 'TODO' in data :
163
- raise ValueError (f'Found TODO in documentation for file "{ path .name } ".' )
162
+ relative = path .relative_to (target_dir )
163
+ if 'TODO' in data and 'lexical-' in str (relative .parent ):
164
+ raise ValueError (f'Found TODO in documentation for file with path "{ relative } ".' )
164
165
165
166
# deduplicate and validate all our links
166
167
if 'SKIP_LINKS' not in os .environ :
You can’t perform that action at this time.
0 commit comments