Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect line offsets under Python <= 3.7
Python 3.8: ```console $ flake8 --select RST RST216/roles.py RST216/roles.py:9:1: RST216 Multiple roles in interpreted text (both prefix and suffix present; only one allowed). ``` On Python 3.7 (before this fix) got the line number wrong: ```console $ flake8 --select RST RST216/roles.py RST216/roles.py:10:1: RST216 Multiple roles in interpreted text (both prefix and suffix present; only one allowed). ``` Problem dates from #37 (not reliably counting the number of lines in a docstring), with #38 only a partial fix.
- Loading branch information