Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 30b5a59

Browse files
docs(taplo): add toml formatter
1 parent 4b6b3fb commit 30b5a59

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

‎.taplo.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include = ["pyproject.toml", ".taplo.toml"]
2+
3+
[formatting]
4+
indent_string = " "

‎pyproject.toml‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,7 @@ cover.help = "Run the test suite with coverage"
250250
cover.ref = "test --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen"
251251

252252
all.help = "Run all tasks"
253-
all.sequence = [
254-
"format",
255-
"lint",
256-
"cover",
257-
"check-commit",
258-
]
253+
all.sequence = ["format", "lint", "cover", "check-commit"]
259254

260255
"doc:screenshots".help = "Render documentation screenshots"
261256
"doc:screenshots".script = "scripts.gen_cli_help_screenshots:gen_cli_help_screenshots"
@@ -267,10 +262,7 @@ doc.help = "Live documentation server"
267262
doc.cmd = "mkdocs serve"
268263

269264
ci.help = "Run all tasks in CI"
270-
ci.sequence = [
271-
{ cmd = "pre-commit run --all-files" },
272-
"cover",
273-
]
265+
ci.sequence = [{ cmd = "pre-commit run --all-files" }, "cover"]
274266
ci.env = { SKIP = "no-commit-to-branch" }
275267

276268
setup-pre-commit.help = "Install pre-commit hooks"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /