Skip to content

Commit 919f2b1

Browse files
authored
fix: add extend-ignore = E203 (#324)
* fix: add extend-ignore = E203 This is needed as we are now using black code style which may raise E203. * fix: grammar
1 parent 72d0596 commit 919f2b1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tox.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
skipsdist=True
2+
skipsdist = True
33
envlist = cov, flake8
44

55
[testenv]
@@ -24,16 +24,20 @@ commands =
2424
flake8 tests
2525

2626

27-
# pytest Configuration
27+
# Pytest configuration
2828
[pytest]
2929
junit_family = xunit2
3030
testpaths = tests
3131
filterwarnings =
3232
ignore:.*'collections'.*'collections.abc'.*:DeprecationWarning
3333
ignore:Task.all_tasks() is deprecated, use asyncio.all_tasks().*:PendingDeprecationWarning
3434

35-
# Flake8 Configuration
35+
36+
# Flake8 configuration
3637
[flake8]
3738
# gettext() adds _() to the global namespace. This lets flake recognize it.
3839
builtins =
3940
_,
41+
42+
# https://github.com/psf/black/blob/master/docs/the_black_code_style.md#slices
43+
extend-ignore = E203

0 commit comments

Comments
 (0)