We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac923e commit 87eab64Copy full SHA for 87eab64
.pre-commit-config.yaml
@@ -84,6 +84,8 @@ repos:
84
hooks:
85
- id: formate
86
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
87
+ additional_dependencies:
88
+ - formate-trailing-commas>=0.1.0
89
90
- repo: https://github.com/python-coincidence/dep_checker
91
rev: v0.9.0
formate.toml
@@ -12,6 +12,12 @@ priority = 30
12
[hooks.yapf.kwargs]
13
yapf_style = ".style.yapf"
14
15
+[hooks.trailing_commas]
16
+priority = 21
17
+
18
+[hooks.trailing_commas.kwargs]
19
+format_ImportFrom = false
20
21
[hooks.isort]
22
priority = 50
23
0 commit comments