Skip to content

Commit a52bd29

Browse files
committed
Init wemake-python-styleguide check
1 parent a280c92 commit a52bd29

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ repos:
112112
- --fix
113113
- id: ruff-format
114114

115+
- repo: https://github.com/wemake-services/wemake-python-styleguide
116+
rev: 6d4ca2bdc16b3098422a2770728136fc0751b817 # frozen: 1.1.0
117+
hooks:
118+
- id: wemake-python-styleguide
119+
115120
- repo: https://github.com/pre-commit/mirrors-mypy.git
116121
rev: 7010b10a09f65cd60a23c207349b539aa36dbec1 # frozen: v1.16.0
117122
hooks:

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ convention = "pep257"
1717
[lint]
1818
select = ["ALL"]
1919
preview = true
20+
external = ["WPS"] # Do not remove noqa for wemake-python-style (WPS) checks
2021
ignore = [
2122
"CPY001", # Skip copyright notice requirement at top of files
2223
]

0 commit comments

Comments
 (0)