Skip to content

Commit 15f5825

Browse files
authored
Merge pull request #64 from carsongee/rc/0.12.2
0.12.2
2 parents cb65de8 + 2dc4a1a commit 15f5825

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ This code is heavily based on
4949
Releases
5050
========
5151

52+
0.12.2
53+
~~~~~~
54+
55+
- Resolved issue where failing files weren't reported thanks to reports from
56+
`skirpichev <https://github.com/skirpichev>`_ and `jamur2 <https://github.com/jamur2>`_
57+
58+
5259
0.12.1
5360
~~~~~~
5461

pytest_pylint.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ def __init__(self, fspath, parent, msg_format=None, pylintrc_file=None):
202202
super(PyLintItem, self).__init__(fspath, parent)
203203

204204
self.add_marker("pylint")
205-
self.rel_path = get_rel_path(fspath.strpath, parent.fspath.strpath)
205+
self.rel_path = get_rel_path(
206+
fspath.strpath,
207+
parent.session.fspath.strpath
208+
)
206209

207210
if msg_format is None:
208211
self._msg_format = '{C}:{line:3d},{column:2d}: {msg} ({symbol})'

0 commit comments

Comments
 (0)