fix links in code

This commit is contained in:
Anthony Sottile 2021-04-03 18:08:19 -07:00
parent fe0e2495ce
commit 3b57778160
3 changed files with 9 additions and 9 deletions

View file

@ -207,7 +207,7 @@ def test_bug_report_successful(capsys):
def test_specific_noqa_does_not_clobber_pycodestyle_noqa(tmpdir, capsys):
"""See https://gitlab.com/pycqa/flake8/issues/552."""
"""See https://github.com/pycqa/flake8/issues/1104."""
with tmpdir.as_cwd():
tmpdir.join('t.py').write("test = ('ABC' == None) # noqa: E501\n")
_call_main(['t.py'], retv=1)
@ -219,7 +219,7 @@ t.py:1:15: E711 comparison to None should be 'if cond is None:'
def test_specific_noqa_on_line_with_continuation(tmpdir, capsys):
"""See https://gitlab.com/pycqa/flake8/issues/375."""
"""See https://github.com/pycqa/flake8/issues/621."""
t_py_src = '''\
from os \\
import path # noqa: F401

View file

@ -11,7 +11,7 @@ from flake8 import checker
def test_run_ast_checks_handles_SyntaxErrors(FileProcessor): # noqa: N802,N803
"""Stress our SyntaxError handling.
Related to: https://gitlab.com/pycqa/flake8/issues/237
Related to: https://github.com/pycqa/flake8/issues/169
"""
processor = mock.Mock(lines=[])
FileProcessor.return_value = processor