Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e3968b

Browse files
committed
Fix CI badge and add info about annotating from logs
1 parent e711aa2 commit 1e3968b

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# IdleMypyExtension
22
Python IDLE extension to perform mypy analysis on an open file
33

4-
[![Tests](https://github.com/CoolCat467/idlemypyextension/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/CoolCat467/idlemypyextension/actions/workflows/tests.yml)
4+
[![CI](https://github.com/CoolCat467/idlemypyextension/actions/workflows/ci.yml/badge.svg)](https://github.com/CoolCat467/idlemypyextension/actions/workflows/ci.yml)
55
<!-- BADGIE TIME -->
66

77
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/CoolCat467/idlemypyextension/main.svg)](https://results.pre-commit.ci/latest/github/CoolCat467/idlemypyextension/main)
@@ -91,3 +91,26 @@ definition
9191

9292
`timeout_mins` controls how long the mypy daemon will time out after,
9393
in minutes.
94+
95+
## Annotating files from mypy error logs
96+
I kept running into cases a lot where CI systems generate mypy error logs, and
97+
I needed to fix those errors with my local copy. If you copy all the mypy
98+
errors into a file, say `error.txt`, you can have idlemypyextension annotate
99+
all of those files with a command like this:
100+
101+
```bash
102+
idlemypyextension error.txt
103+
```
104+
105+
which will open a blank IDLE window, hook into `idlemypyextension`, have it
106+
add annotations to all files referenced in error log file, and then close
107+
that temporary blank window, leaving all the files with errors still open.
108+
109+
110+
### Links
111+
* Source Code - https://github.com/CoolCat467/idlemypyextension.git
112+
* Issues - https://github.com/CoolCat467/idlemypyextension/issues
113+
114+
### License
115+
-------
116+
Code and documentation are available according to the GNU General Public License v3.0 (see [LICENSE](https://github.com/CoolCat467/idlemypyextension/blob/HEAD/LICENSE)).

0 commit comments

Comments
 (0)