Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[py] Ignore devtools during linting #15410

Merged
merged 2 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ ignore_missing_imports = true
# PEP recommended sections (https://peps.python.org/pep-0008/#imports)
# files or individual lines can be ignored via `# isort:skip|# isort:skip_file`.
profile = "black"
py_version=38
py_version=39
force_single_line = true

[tool.black]
extend-exclude = 'selenium/webdriver/common/devtools'
line-length = 120
target-version = ['py38']
target-version = ['py39']

[tool.docformatter]
exclude = 'selenium/webdriver/common/devtools'
recursive = true
2 changes: 1 addition & 1 deletion py/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ commands =
docformatter --in-place -r selenium/

[flake8]
exclude = .tox,docs/source/conf.py,*venv
exclude = .tox,selenium/webdriver/common/devtools,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.
Expand Down
Loading