Skip to content

Commit 50d1e08

Browse files
jagapioucopybara-github
authored andcommitted
Update pyproject.toml
- update pyink settings - remove redundant isort settings PiperOrigin-RevId: 733381354 Change-Id: I4092925574ea293e44c510845088a1ee4c99f77c
1 parent a9eca1b commit 50d1e08

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,22 @@ build-backend = "setuptools.build_meta"
44

55
[tool.isort]
66
profile = "google"
7-
# TODO remove once https://github.com/PyCQA/isort/pull/2149 submitted.
8-
line_length = 1000
9-
single_line_exclusions = ["collections.abc", "typing"]
107
known_thirdparty = ["meltingpot"]
118

129
[tool.pyink]
1310
line-length = 80
1411
unstable = true
1512
pyink-indentation = 2
1613
pyink-use-majority-quotes = true
14+
pyink-annotation-pragmas = [
15+
"noqa",
16+
"pylint:",
17+
"type: ignore",
18+
"pytype:",
19+
"mypy:",
20+
"pyright:",
21+
"pyre-",
22+
]
1723

1824
[tool.pytest.ini_options]
1925
required_plugins = ["pytest-xdist"]

0 commit comments

Comments
 (0)