Skip to content

Commit

Permalink
style: fix on window
Browse files Browse the repository at this point in the history
  • Loading branch information
GACLove committed Jan 24, 2024
1 parent b6335a6 commit e38c3b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
39 changes: 10 additions & 29 deletions .cmake-format.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
],
"additional_commands": {
"foo": {
"flags": [
"BAR",
"BAZ"
],
"flags": ["BAR", "BAZ"],
"kwargs": {
"HEADERS": "*",
"SOURCES": "*",
Expand All @@ -21,13 +18,9 @@
"Override configurations per-command where available"
],
"override_spec": {},
"_help_vartags": [
"Specify variable tags."
],
"_help_vartags": ["Specify variable tags."],
"vartags": [],
"_help_proptags": [
"Specify property tags."
],
"_help_proptags": ["Specify property tags."],
"proptags": []
},
"_help_format": "Options affecting formatting.",
Expand All @@ -36,13 +29,9 @@
"Disable formatting entirely, making cmake-format a no-op"
],
"disable": false,
"_help_line_width": [
"How wide to allow formatted cmake files"
],
"_help_line_width": ["How wide to allow formatted cmake files"],
"line_width": 80,
"_help_tab_size": [
"How many spaces to tab for indent"
],
"_help_tab_size": ["How many spaces to tab for indent"],
"tab_size": 4,
"_help_use_tabchars": [
"If true, lines are indented using tab characters (utf-8",
Expand Down Expand Up @@ -117,10 +106,8 @@
"this many lines, then reject the layout."
],
"max_lines_hwrap": 2,
"_help_line_ending": [
"What style line endings to use in the output."
],
"line_ending": "unix",
"_help_line_ending": ["What style line endings to use in the output."],
"line_ending": "auto",
"_help_command_case": [
"Format command names consistently as 'lower' or 'upper' case"
],
Expand Down Expand Up @@ -159,9 +146,7 @@
},
"_help_markup": "Options affecting comment reflow and formatting.",
"markup": {
"_help_bullet_char": [
"What character to use for bulleted lists"
],
"_help_bullet_char": ["What character to use for bulleted lists"],
"bullet_char": "*",
"_help_enum_char": [
"What character to use as punctuation after numerals in an",
Expand Down Expand Up @@ -209,16 +194,12 @@
"length to fill the column"
],
"canonicalize_hashrulers": true,
"_help_enable_markup": [
"enable comment markup parsing and reflow"
],
"_help_enable_markup": ["enable comment markup parsing and reflow"],
"enable_markup": true
},
"_help_lint": "Options affecting the linter",
"lint": {
"_help_disabled_codes": [
"a list of lint codes to disable"
],
"_help_disabled_codes": ["a list of lint codes to disable"],
"disabled_codes": [],
"_help_function_pattern": [
"regular expression pattern describing valid function names"
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ repos:
- id: fix-encoding-pragma
args: ["--remove"]
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
Expand Down

0 comments on commit e38c3b3

Please sign in to comment.