Skip to content

Commit 046d3be

Browse files
gfyoungjreback
authored andcommitted
CLN: Remove "flake8: noqa" from files
Just some minor house-cleaning to cut down on the number of search results found <a href="https://github.com/pandas- dev/pandas/search?utf8=%E2%9C%93&q=flake8%3A+noqa&type=">here</a>. Author: gfyoung <[email protected]> Closes #15842 from gfyoung/flake8-noqa-clean and squashes the following commits: 5d1edeb [gfyoung] CLN: Make test_compat.py flake8-able f9079ff [gfyoung] CLN: Make exceptions.py flake8-able 0e236f5 [gfyoung] CLN: Make test_format.py flake8-able
1 parent de589c2 commit 046d3be

File tree

3 files changed

+177
-85
lines changed

3 files changed

+177
-85
lines changed

pandas/tests/computation/test_compat.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
2-
# flake8: noqa
3-
41
import pytest
5-
from itertools import product
62
from distutils.version import LooseVersion
73

84
import pandas as pd
@@ -32,7 +28,7 @@ def test_compat():
3228
@pytest.mark.parametrize('parser', expr._parsers)
3329
def test_invalid_numexpr_version(engine, parser):
3430
def testit():
35-
a, b = 1, 2
31+
a, b = 1, 2 # noqa
3632
res = pd.eval('a + b', engine=engine, parser=parser)
3733
tm.assert_equal(res, 3)
3834

0 commit comments

Comments
 (0)