Skip to content

Commit

Permalink
Merge dd07f04 into 59d1953
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Sep 14, 2021
2 parents 59d1953 + dd07f04 commit 7562413
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,7 @@ repos:
- id: remove-crlf
- id: forbid-crlf

- repo: https://github.com/python-formate/snippet-fmt
rev: v0.1.0
hooks:
- id: snippet-fmt

- repo: https://github.com/python-formate/formate
- repo: https://github.com/repo-helper/formate
rev: v0.4.9
hooks:
- id: formate
Expand Down
8 changes: 4 additions & 4 deletions repo_helper/files/linting.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 7562413

Please sign in to comment.