Commit 8d02b47
authored
dmypy: warn instead of failing if report generation is configured (#10181)
### Description
Log a warning instead of failing when `dmypy run` is called on a project that has report generation configured via setup.cfg
Resolves #10118
## Test Plan
1. Built package locally
2. Installed into my virtualenv
3. Created test project with mypy.ini contents:
```ini
[mypy]
html_report = build/html
```
1. Ran `dmypy run .`
Result:
```
dmypy run .
dmypy: ignoring report generation settings. Start/restart cannot generate reports.
Daemon started
```1 parent 8c8d169 commit 8d02b47
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments