-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some noqa and adjust test reference files (#982)
- Loading branch information
Showing
34 changed files
with
139 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Enforce pyflakes(F), pycodestyle(E, W), isort (I), bugbears (B), and pep8-naming (N) rules | ||
select = ["F", "E", "W", "I", "B", "N"] | ||
line-length = 100 | ||
exclude = ["tests/exceptions/source"] | ||
exclude = ["tests/exceptions/source/*"] | ||
[pycodestyle] | ||
max-doc-length = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
|
||
[33m[1mTraceback (most recent call last):[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m32[0m, in [35m<module>[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m31[0m, in [35m<module>[0m | ||
[1me[0m[1m([0m[34m[1m0[0m[1m)[0m | ||
[36m└ [0m[36m[1m<function e at 0xDEADBEEF>[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m28[0m, in [35me[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m27[0m, in [35me[0m | ||
[1mx[0m [35m[1min[0m [1m[[0m[34m[1m1[0m[1m][0m[1m,[0m [1mx[0m [35m[1min[0m [1m([0m[34m[1m1[0m[1m,[0m[1m)[0m[1m,[0m [1mx[0m [35m[1min[0m [1m{[0m[34m[1m1[0m[1m}[0m[1m,[0m [1mx[0m [35m[1min[0m [1m{[0m[34m[1m1[0m[1m:[0m [34m[1m1[0m[1m}[0m[1m,[0m [1md[0m[1m([0m[1m)[0m | ||
[36m│ │ │ │ └ [0m[36m[1m<function d at 0xDEADBEEF>[0m | ||
[36m│ │ │ └ [0m[36m[1m0[0m | ||
[36m│ │ └ [0m[36m[1m0[0m | ||
[36m│ └ [0m[36m[1m0[0m | ||
[36m└ [0m[36m[1m0[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m24[0m, in [35md[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m23[0m, in [35md[0m | ||
[1mmin[0m[1m([0m[1mrange[0m[1m([0m[34m[1m1[0m[1m,[0m [34m[1m10[0m[1m)[0m[1m)[0m[1m,[0m [1mlist[0m[1m([0m[1m)[0m[1m,[0m [1mdict[0m[1m([0m[1m)[0m[1m,[0m [1mc[0m[1m([0m[1m)[0m[1m,[0m [35m[1m...[0m | ||
[36m └ [0m[36m[1m<function c at 0xDEADBEEF>[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m20[0m, in [35mc[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m19[0m, in [35mc[0m | ||
[34m[1m1[0m[1m,[0m [34m[1m2.5[0m[1m,[0m [34m[1m3.0[0m[1m,[0m [34m[1m0.4[0m[1m,[0m [36m"str"[0m[1m,[0m [36mr"rrr"[0m[1m,[0m [36mrb"binary"[0m[1m,[0m [1mb[0m[1m([0m[1m)[0m | ||
[36m └ [0m[36m[1m<function b at 0xDEADBEEF>[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m16[0m, in [35mb[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m15[0m, in [35mb[0m | ||
[1ma[0m[1m([0m[1m)[0m [35m[1mor[0m [36m[1mFalse[0m [35m[1m==[0m [36m[1mNone[0m [35m[1m!=[0m [36m[1mTrue[0m | ||
[36m└ [0m[36m[1m<function a at 0xDEADBEEF>[0m | ||
|
||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m12[0m, in [35ma[0m | ||
File "[32mtests/exceptions/source/diagnose/[0m[32m[1msyntax_highlighting.py[0m", line [33m11[0m, in [35ma[0m | ||
[34m[1m1[0m [35m[1m/[0m [34m[1m0[0m [35m[1m+[0m [34m[1m1[0m [35m[1m*[0m [34m[1m0[0m [35m[1m-[0m [34m[1m1[0m [35m[1m%[0m [34m[1m0[0m [35m[1m//[0m [34m[1m1[0m[35m[1m**[0m[34m[1m0[0m [35m[1m@[0m [34m[1m1[0m [30m[1m# Error[0m | ||
|
||
[31m[1mZeroDivisionError[0m:[1m division by zero[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
Traceback (most recent call last): | ||
|
||
File "tests/exceptions/source/others/exception_in_property.py", line 23, in <module> | ||
File "tests/exceptions/source/others/exception_in_property.py", line 22, in <module> | ||
value = a.value | ||
│ └ <property object at 0xDEADBEEF> | ||
└ <__main__.A object at 0xDEADBEEF> | ||
|
||
> File "tests/exceptions/source/others/exception_in_property.py", line 14, in value | ||
> File "tests/exceptions/source/others/exception_in_property.py", line 13, in value | ||
1 / 0 | ||
|
||
ZeroDivisionError: division by zero |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.