Improvement: new TNM regex#366
Conversation
|
Coverage Report
Files without new missing coverage
278 files skipped due to complete coverage. Coverage failure: total of 98.03% is less than 98.07% ❌ |
4a7168c to
8e7ee3a
Compare
|
Docs preview URL |
d8d2c40 to
0c012f5
Compare
|
d2e1f39 to
65669dc
Compare
e40f154 to
6b049d6
Compare
|
Updated the banned words list to include new variations.
|



Description
Add a new TNM regex that outperforms the old one. By default,
eds.tnmwill use the new regex pattern, but the old one will remain accessible.Installation:
Code example:
Changes
patterns_new.py: File containing new tnm regex. Compare to old one add many new sections.patterns.py: Old regex file. Renamed some sections to match new section names used inmodel.py.tnm.py: Change default pattern to new pattern.test_tnm.py: Change tnp pipe definition to still use old regex.model.py: Remove part of pydantic typing validation to work with both old and new patterns.TODO
model.py: add pydantic good typingtest_tnm.py: update unit testsChecklist