Commit 2e81ed1
Jens Diemer
Use darker as code formatter tool base...
Use Darker as code formatter. Darker is:
"""
Apply black reformatting to Python files only in regions changed since a given commit.
"""
Also use `pytest-darker`, `pytest-flake8` and `pytest-isort` ... So code formatting "errors" will be
check in pytest run. (Note: Only the first test is slower, afer one test runs only changed files
will be checked.)1 parent d6edab7 commit 2e81ed1
File tree
4 files changed
+215
-98
lines changed- .github/workflows
4 files changed
+215
-98
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
0 commit comments