tatuylonen / wikitextprocessor

Python package for WikiMedia dump processing (Wiktionary, Wikipedia etc). Wikitext parsing, template expansion, Lua module execution. For data extraction, bulk syntax checking, error detection, and offline formatting.
Other
93 stars 23 forks source link

Implement localmonthname & localmonthabbrev parserfns #245

Closed LeMoussel closed 7 months ago

LeMoussel commented 7 months ago

Implement

LeMoussel commented 7 months ago

There is the following error on lint:

src/wikitextprocessor/parserfns.py:5:1: I001 [*] Import block is un-sorted or un-formatted

I suspect this error concerns the order of import. But I don't know how to fix it. To avoid this error, what should I install/run on my local host?

xxyzz commented 7 months ago

You could run these commands:

$ python -m ruff check --fix .
$ python -m ruff format .