Skip to content

Commit 439e5c2

Browse files
sandeepsuryaprasadjkim2492
authored andcommitted
[py] moved flake8 settings to tox.ini from setup.cfg (SeleniumHQ#14749)
moved flake8 settings to tox.ini from setup.cfg
1 parent 3396dd8 commit 439e5c2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

py/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ py_library(
335335
],
336336
data = [
337337
"pyproject.toml",
338-
"setup.cfg",
339338
"test/selenium/webdriver/common/test_file.txt",
340339
"test/selenium/webdriver/common/test_file2.txt",
341340
":webextensions-selenium-example-unsigned-zip",

py/setup.cfg

-6
This file was deleted.

py/tox.ini

+7
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,10 @@ commands =
5858
black selenium/ test/ conftest.py -l 120
5959
flake8 selenium/ test/ --min-python-version=3.8
6060
docformatter --in-place -r selenium/
61+
62+
[flake8]
63+
exclude = .tox,docs/source/conf.py,*venv
64+
# Disable this once black is applied throughout & line length is better handled.
65+
extend-ignore = E501, E203
66+
# This does nothing for now as E501 is ignored.
67+
max-line-length = 120

0 commit comments

Comments
 (0)