mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 04:56:54 +00:00
fix links in code
This commit is contained in:
parent
fe0e2495ce
commit
3b57778160
3 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue