[setup] migrate setup script to pyproject.toml (#22539)

* [setup] migrate setup script to `pyproject.toml`

* [setup] cleanup configurations

* remove unused imports
This commit is contained in:
Xuehai Pan
2023-04-04 02:03:41 +08:00
committed by GitHub
parent a17841ac49
commit 4169dc84bf
3 changed files with 69 additions and 47 deletions

View File

@@ -1,17 +0,0 @@
[isort]
default_section = FIRSTPARTY
ensure_newline_before_comments = True
force_grid_wrap = 0
include_trailing_comma = True
known_first_party = transformers
line_length = 119
lines_after_imports = 2
multi_line_output = 3
use_parentheses = True
[flake8]
ignore = E203, E501, E741, W503, W605
max-line-length = 119
[tool:pytest]
doctest_optionflags=NUMBER NORMALIZE_WHITESPACE ELLIPSIS