]> 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:

Document disabling E704 (#3888)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Wed, 13 Sep 2023 07:40:41 +0000 (00:40 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 07:40:41 +0000 (00:40 -0700)
Linking #3887

.flake8
docs/guides/using_black_with_other_tools.md
docs/the_black_code_style/current_style.md

diff --git a/.flake8 b/.flake8
index 7bc346a09c1d131425e39a6752da7f01f3e04777..85f51cf9f05a4e6dd004afd7d64e9a54457f1901 100644 (file)
--- a/.flake8
+++ b/.flake8
@@ -1,6 +1,6 @@
 [flake8]
 # B905 should be enabled when we drop support for 3.9
-ignore = E203, E266, E501, W503, B905, B907
+ignore = E203, E266, E501, E704, W503, B905, B907
 # line length is intentionally set to 80 here because black uses Bugbear
 # See https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length for more details
 max-line-length = 80
index 6c6fbb88174d2290bc2cf6b553f9f7414c15dc01..22c641a74203defdc0d9aef93d36a5c3793b49f5 100644 (file)
@@ -173,7 +173,7 @@ limit of `88`, _Black_'s default. This explains `max-line-length = 88`.
 ```ini
 [flake8]
 max-line-length = 88
-extend-ignore = E203
+extend-ignore = E203, E704
 ```
 
 </details>
index e1a8078bf2c83507898cae090eb4f9c518919715..ff757a8276bd89dd96908857d9da4215b26cb756 100644 (file)
@@ -173,7 +173,7 @@ If you use Flake8, you have a few options:
    max-line-length = 80
    ...
    select = C,E,F,W,B,B950
-   extend-ignore = E203, E501
+   extend-ignore = E203, E501, E704
    ```
 
    The rationale for E950 is explained in
@@ -184,7 +184,7 @@ If you use Flake8, you have a few options:
    ```ini
    [flake8]
    max-line-length = 88
-   extend-ignore = E203
+   extend-ignore = E203, E704
    ```
 
 An explanation of why E203 is disabled can be found in the [Slices section](#slices) of