make string length configurable and consistent across backends
closes #1303
Checklist
- [x] No CHANGELOG update needed
- [x] No new tests needed
- [x] No documentation update needed
@linpeiyu164 do you expect to be able to resume work on this PR and/or shall we lend a hand to close it out?
I have made the requested changes from the last review. I didn't notice the merge conflict but I just resolved it. There seems to be a failing check, but I think the PR will be done once I deal with it. Is there anything else I should change?
The mypy check was not triggered to run again so the results can't be seen here, but it ran successfully when I tested it locally:
$ mypy --config-file .github/mypy/mypy.ini --check-untyped-defs capa/features/
Success: no issues found in 53 source files
closing due to inactivity and outdated code, will mark the issue as open again