]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add compatible configuration files. (psf#1789) (#1792)
authorShota Ray Imaki <shota.imaki@icloud.com>
Fri, 30 Oct 2020 15:13:55 +0000 (00:13 +0900)
committerGitHub <noreply@github.com>
Fri, 30 Oct 2020 15:13:55 +0000 (08:13 -0700)
* Add compatible configuration files. (psf#1789)

* Simplify isort configuration files. (#1789)

docs/compatible_configs.md
docs/compatible_configs/flake8/.flake8 [new file with mode: 0644]
docs/compatible_configs/flake8/setup.cfg [new file with mode: 0644]
docs/compatible_configs/flake8/tox.ini [new file with mode: 0644]
docs/compatible_configs/isort/.editorconfig [new file with mode: 0644]
docs/compatible_configs/isort/.isort.cfg [new file with mode: 0644]
docs/compatible_configs/isort/pyproject.toml [new file with mode: 0644]
docs/compatible_configs/isort/setup.cfg [new file with mode: 0644]
docs/compatible_configs/pylint/pylintrc [new file with mode: 0644]
docs/compatible_configs/pylint/pyproject.toml [new file with mode: 0644]
docs/compatible_configs/pylint/setup.cfg [new file with mode: 0644]

index 990820a67716226ad095bf79cbfa9d7ab60cf24d..c6724e77e5715cd5b81225c582bd8239b3606e10 100644 (file)
@@ -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.
diff --git a/docs/compatible_configs/flake8/.flake8 b/docs/compatible_configs/flake8/.flake8
new file mode 100644 (file)
index 0000000..8dd399a
--- /dev/null
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 88
+extend-ignore = E203
diff --git a/docs/compatible_configs/flake8/setup.cfg b/docs/compatible_configs/flake8/setup.cfg
new file mode 100644 (file)
index 0000000..8dd399a
--- /dev/null
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 88
+extend-ignore = E203
diff --git a/docs/compatible_configs/flake8/tox.ini b/docs/compatible_configs/flake8/tox.ini
new file mode 100644 (file)
index 0000000..8dd399a
--- /dev/null
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 88
+extend-ignore = E203
diff --git a/docs/compatible_configs/isort/.editorconfig b/docs/compatible_configs/isort/.editorconfig
new file mode 100644 (file)
index 0000000..edc849a
--- /dev/null
@@ -0,0 +1,2 @@
+[*.py]
+profile = black
diff --git a/docs/compatible_configs/isort/.isort.cfg b/docs/compatible_configs/isort/.isort.cfg
new file mode 100644 (file)
index 0000000..f238bf7
--- /dev/null
@@ -0,0 +1,2 @@
+[settings]
+profile = black
diff --git a/docs/compatible_configs/isort/pyproject.toml b/docs/compatible_configs/isort/pyproject.toml
new file mode 100644 (file)
index 0000000..cea9915
--- /dev/null
@@ -0,0 +1,2 @@
+[tool.isort]
+profile = black
diff --git a/docs/compatible_configs/isort/setup.cfg b/docs/compatible_configs/isort/setup.cfg
new file mode 100644 (file)
index 0000000..c76db01
--- /dev/null
@@ -0,0 +1,2 @@
+[isort]
+profile = black
diff --git a/docs/compatible_configs/pylint/pylintrc b/docs/compatible_configs/pylint/pylintrc
new file mode 100644 (file)
index 0000000..7abddd2
--- /dev/null
@@ -0,0 +1,5 @@
+[MESSAGES CONTROL]
+disable = C0330, C0326
+
+[format]
+max-line-length = 88
diff --git a/docs/compatible_configs/pylint/pyproject.toml b/docs/compatible_configs/pylint/pyproject.toml
new file mode 100644 (file)
index 0000000..49ad7a2
--- /dev/null
@@ -0,0 +1,5 @@
+[tool.pylint.messages_control]
+disable = "C0330, C0326"
+
+[tool.pylint.format]
+max-line-length = "88"
diff --git a/docs/compatible_configs/pylint/setup.cfg b/docs/compatible_configs/pylint/setup.cfg
new file mode 100644 (file)
index 0000000..3ada245
--- /dev/null
@@ -0,0 +1,5 @@
+[pylint]
+max-line-length = 88
+
+[pylint.messages_control]
+disable = C0330, C0326