Skip to content

Commit cab71f8

Browse files
moved flake8 and pytest config settings pyproject.toml
1 parent 9aa1a7f commit cab71f8

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

py/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ py_library(
333333
],
334334
data = [
335335
"pytest.ini",
336-
"setup.cfg",
336+
"pyproject.toml",
337337
"test/selenium/webdriver/common/test_file.txt",
338338
"test/selenium/webdriver/common/test_file2.txt",
339339
":webextensions-selenium-example-unsigned-zip",

py/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[build-system]
22
requires = ["setuptools", "setuptools-rust"]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.flake8]
6+
exclude = ".tox,docs/source/conf.py,*venv"
7+
# Disable this once black is applied throughout & line length is better handled.
8+
extend-ignore = "E501, E203"
9+
# This does nothing for now as E501 is ignored.
10+
max-line-length = 120

py/setup.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)