Overview
Comment: | [cli] code cleaning (pylint) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | cli |
Files: | files | file ages | folders |
SHA3-256: |
d792e0b9380ae021f93181c04c9b4427 |
User & Date: | olr on 2019-05-11 10:17:56 |
Other Links: | manifest | tags |
Context
2019-05-11
| ||
10:19 | [core][py][bug] fix displayRules check-in: ee0cb1670d user: olr tags: trunk, core | |
10:17 | [cli] code cleaning (pylint) check-in: d792e0b938 user: olr tags: trunk, cli | |
10:07 | [build] darg: code cleaning (pylint) check-in: 36a7c21300 user: olr tags: trunk, build | |
Changes
Modified grammalecte-cli.py from [16fbb68f36] to [19972ccb9a].
︙ | |||
81 82 83 84 85 86 87 88 89 90 91 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | + - + - - - + + | if not hDst: echo(sText, end="") else: hDst.write(sText) def loadDictionary (spf): "returns the dictionary as a dictionary object" if os.path.isfile(spf): sJSON = open(spf, "r", encoding="utf-8").read() try: oJSON = json.loads(sJSON) |
︙ | |||
235 236 237 238 239 240 241 | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | - + - + - + - + - + - + | for sRule in sText[3:].strip().split(): oGrammarChecker.gce.ignoreRule(sRule) echo("done") elif sText.startswith("/++ "): for sRule in sText[3:].strip().split(): oGrammarChecker.gce.reactivateRule(sRule) echo("done") |
︙ |