Add compatible configuration files. (psf#1789) (#1792)
* Add compatible configuration files. (psf#1789) * Simplify isort configuration files. (#1789)
This commit is contained in:
parent
e6cd10e761
commit
b64fd2bbec
@ -10,6 +10,9 @@ tools out there.
|
||||
(e.g. `pyproject.toml`). The provided examples are to only configure their corresponding
|
||||
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](https://pypi.org/p/isort/) helps to sort and format imports in your Python code.
|
||||
|
3
docs/compatible_configs/flake8/.flake8
Normal file
3
docs/compatible_configs/flake8/.flake8
Normal file
@ -0,0 +1,3 @@
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore = E203
|
3
docs/compatible_configs/flake8/setup.cfg
Normal file
3
docs/compatible_configs/flake8/setup.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore = E203
|
3
docs/compatible_configs/flake8/tox.ini
Normal file
3
docs/compatible_configs/flake8/tox.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore = E203
|
2
docs/compatible_configs/isort/.editorconfig
Normal file
2
docs/compatible_configs/isort/.editorconfig
Normal file
@ -0,0 +1,2 @@
|
||||
[*.py]
|
||||
profile = black
|
2
docs/compatible_configs/isort/.isort.cfg
Normal file
2
docs/compatible_configs/isort/.isort.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[settings]
|
||||
profile = black
|
2
docs/compatible_configs/isort/pyproject.toml
Normal file
2
docs/compatible_configs/isort/pyproject.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[tool.isort]
|
||||
profile = black
|
2
docs/compatible_configs/isort/setup.cfg
Normal file
2
docs/compatible_configs/isort/setup.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[isort]
|
||||
profile = black
|
5
docs/compatible_configs/pylint/pylintrc
Normal file
5
docs/compatible_configs/pylint/pylintrc
Normal file
@ -0,0 +1,5 @@
|
||||
[MESSAGES CONTROL]
|
||||
disable = C0330, C0326
|
||||
|
||||
[format]
|
||||
max-line-length = 88
|
5
docs/compatible_configs/pylint/pyproject.toml
Normal file
5
docs/compatible_configs/pylint/pyproject.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[tool.pylint.messages_control]
|
||||
disable = "C0330, C0326"
|
||||
|
||||
[tool.pylint.format]
|
||||
max-line-length = "88"
|
5
docs/compatible_configs/pylint/setup.cfg
Normal file
5
docs/compatible_configs/pylint/setup.cfg
Normal file
@ -0,0 +1,5 @@
|
||||
[pylint]
|
||||
max-line-length = 88
|
||||
|
||||
[pylint.messages_control]
|
||||
disable = C0330, C0326
|
Loading…
Reference in New Issue
Block a user