Skip to content

Commit a528cd4

Browse files
committed
Fix failing unittests
- Fix .flake8 to comply with black - Fix line number for test_b006_b008 - Upgrade pip + setuptools for CI Fixes #82
1 parent b7072b5 commit a528cd4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Keep in sync with setup.cfg which is used for source packages.
33

44
[flake8]
5-
ignore = E302, E501
5+
ignore = E203, E302, E501
66
max-line-length = 88
77
max-complexity = 12
88
select = B,C,E,F,W,B9

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ matrix:
1515
- env: PYTHON_VER=py38
1616

1717
install:
18-
- pip install black
19-
- pip install -e .
18+
- pip install --upgrade pip setuptools black
19+
- pip install .
2020

2121
script:
2222
- python setup.py test && find . -type f -name '*.py' | xargs black --check

tests/test_bugbear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_b006_b008(self):
8787
B006(26, 19),
8888
B006(30, 31),
8989
B008(39, 38),
90-
B006(53, 32),
90+
B006(55, 32),
9191
),
9292
)
9393

0 commit comments

Comments
 (0)