Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 14, 2021
1 parent b400315 commit b86df1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions repo_helper/files/linting.py
Expand Up @@ -295,10 +295,10 @@
"NQA001", # "#noqa" must have a single space after the hash, e.g. "# noqa
"NQA002", # "# noqa X000" must have a colon, e.g. "# noqa: X000
"NQA003", # "# noqa : X000" must not have a space before the colon, e.g. "# noqa: X000"
"NQA004", # "# noqa: X000" must have at most one space before the codes, e.g. "# noqa: X000
"NQA005", # "# noqa: X000, X000" has duplicate codes, remove X00
"NQA102", # "# noqa: X000" has no matching violation
"NQA103", # "# noqa: X000, X001" has unmatched code(s), remove X00
"NQA004", # " # noqa: X000 " must have at most one space before the codes, e.g. "# noqa: X000
"NQA005", # " # noqa: X000,X000 " has duplicate codes, remove X00
"NQA102", # " # noqa: X000 " has no matching violation
"NQA103", # " # noqa: X000,X001 " has unmatched code(s), remove X00
])


Expand Down
3 changes: 1 addition & 2 deletions repo_helper/files/pre_commit.py
Expand Up @@ -181,8 +181,7 @@ def to_dict(self) -> MutableMapping[str, Union[str, List[Hook]]]:
"python-no-eval",
"rst-backticks",
"rst-directive-colons",
"rst-inline-touching-normal",
# TODO: "python-check-blanket-type-ignore",
"rst-inline-touching-normal", # TODO: "python-check-blanket-type-ignore",
],
)

Expand Down

0 comments on commit b86df1b

Please sign in to comment.