Add compatible configuration files. (psf#1789) (#1792)

* Add compatible configuration files. (psf#1789)

* Simplify isort configuration files. (#1789)
This commit is contained in:
Shota Ray Imaki 2020-10-31 00:13:55 +09:00 committed by GitHub
parent e6cd10e761
commit b64fd2bbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 35 additions and 0 deletions

View File

@ -10,6 +10,9 @@ tools out there.
(e.g. `pyproject.toml`). The provided examples are to only configure their corresponding (e.g. `pyproject.toml`). The provided examples are to only configure their corresponding
tools, using **their** supported file formats. tools, using **their** supported file formats.
Compatible configuration files can be
[found here](https://github.com/psf/black/blob/master/docs/compatible_configs/).
## isort ## isort
[isort](https://pypi.org/p/isort/) helps to sort and format imports in your Python code. [isort](https://pypi.org/p/isort/) helps to sort and format imports in your Python code.

View File

@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203

View File

@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203

View File

@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203

View File

@ -0,0 +1,2 @@
[*.py]
profile = black

View File

@ -0,0 +1,2 @@
[settings]
profile = black

View File

@ -0,0 +1,2 @@
[tool.isort]
profile = black

View File

@ -0,0 +1,2 @@
[isort]
profile = black

View File

@ -0,0 +1,5 @@
[MESSAGES CONTROL]
disable = C0330, C0326
[format]
max-line-length = 88

View File

@ -0,0 +1,5 @@
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"

View File

@ -0,0 +1,5 @@
[pylint]
max-line-length = 88
[pylint.messages_control]
disable = C0330, C0326