File tree Expand file tree Collapse file tree 5 files changed +34
-7
lines changed Expand file tree Collapse file tree 5 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -290,4 +290,4 @@ tests/files/.mkdoxy
290
290
temp /
291
291
local /
292
292
293
- .idea /
293
+ .idea /
Original file line number Diff line number Diff line change 1
1
---
2
2
repos :
3
+ - repo : https://github.com/sourcery-ai/sourcery
4
+ rev : v1.19.0
5
+ hooks :
6
+ - id : sourcery
7
+ # The best way to use Sourcery in a pre-commit hook:
8
+ # * review only changed lines:
9
+ # * omit the summary
10
+ args : [--diff=git diff HEAD, --no-summary]
3
11
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v4.5 .0
12
+ rev : v5.0 .0
5
13
hooks :
6
14
- id : trailing-whitespace
7
15
- id : end-of-file-fixer
8
16
- repo : https://github.com/psf/black
9
17
rev : 23.9.1
10
18
hooks :
11
19
- id : black
12
- - repo : https://github.com/charliermarsh/ruff-pre-commit
13
- rev : ' v0.0.292'
20
+ - repo : https://github.com/astral-sh/ruff-pre-commit
21
+ # Ruff version.
22
+ rev : v0.9.6
14
23
hooks :
24
+ # Run the linter.
15
25
- id : ruff
16
- args : [--fix, --exit-non-zero-on-fix]
26
+ args : [ --fix, --exit-non-zero-on-fix ]
27
+ # Run the formatter.
28
+ - id : ruff-format
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ pip install mkdoxy
41
41
```
42
42
Development version with all dependencies:
43
43
``` bash
44
+ python -m venv .venv
44
45
python -m pip install mkdoxy " .[dev]"
45
46
```
46
47
Original file line number Diff line number Diff line change @@ -25,9 +25,23 @@ theme:
25
25
repo : fontawesome/brands/github
26
26
27
27
palette :
28
- - scheme : slate
28
+ # Palette toggle for dark mode
29
+ - media : " (prefers-color-scheme: dark)"
30
+ scheme : slate
29
31
primary : orange
30
32
accent : orange
33
+ toggle :
34
+ icon : material/brightness-4
35
+ name : Switch to light mode
36
+
37
+ # Palette toggle for light mode
38
+ - media : " (prefers-color-scheme: light)"
39
+ scheme : default
40
+ primary : orange
41
+ accent : orange
42
+ toggle :
43
+ icon : material/brightness-7
44
+ name : Switch to dark mode
31
45
32
46
extra :
33
47
social :
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def test_str2dox_dict_expanded_config_errors():
172
172
with pytest .raises (DoxygenCustomConfigNotValid , match = error_message ):
173
173
doxygen_run .str2dox_dict (dox_str )
174
174
175
- dox_str = "BAD_MULTILINE = BAD\n " " VALUE\n "
175
+ dox_str = "BAD_MULTILINE = BAD\n VALUE\n "
176
176
error_message = str (
177
177
"Invalid line: ' VALUE'"
178
178
"In custom Doxygen config file: None\n "
You can’t perform that action at this time.
0 commit comments