Skip to content

Commit

Permalink
[py] moved flake8 settings to tox.ini from setup.cfg (SeleniumH…
Browse files Browse the repository at this point in the history
…Q#14749)

moved flake8 settings to tox.ini from setup.cfg
  • Loading branch information
sandeepsuryaprasad authored and jkim2492 committed Nov 17, 2024
1 parent 3396dd8 commit 439e5c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ py_library(
],
data = [
"pyproject.toml",
"setup.cfg",
"test/selenium/webdriver/common/test_file.txt",
"test/selenium/webdriver/common/test_file2.txt",
":webextensions-selenium-example-unsigned-zip",
Expand Down
6 changes: 0 additions & 6 deletions py/setup.cfg

This file was deleted.

7 changes: 7 additions & 0 deletions py/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@ commands =
black selenium/ test/ conftest.py -l 120
flake8 selenium/ test/ --min-python-version=3.8
docformatter --in-place -r selenium/

[flake8]
exclude = .tox,docs/source/conf.py,*venv
# Disable this once black is applied throughout & line length is better handled.
extend-ignore = E501, E203
# This does nothing for now as E501 is ignored.
max-line-length = 120

0 comments on commit 439e5c2

Please sign in to comment.