Ben Kurtovic
f7a8702cae
Fix pyright issues in src/mwparserfromhell
1 rok temu
Ben Kurtovic
d4f6bffd23
Update type annotations and rerun ruff
1 rok temu
Ben Kurtovic
4a46d00bf4
Drop support for EOL Python 3.8
1 rok temu
Ben Kurtovic
b2c8d38c0d
Fix one Generator annotation
1 rok temu
Ben Kurtovic
16681fd182
Fix one Generator annotation
1 rok temu
Ben Kurtovic
7ef2c45b30
Fix one Generator annotation
1 rok temu
Ben Kurtovic
80b848354c
Bump actions/upload-artifact to v4
1 rok temu
Ben Kurtovic
95c6bda2ca
Run ruff
1 rok temu
Ben Kurtovic
6e0dcf6359
Switch to ruff
1 rok temu
Ben Kurtovic
52ec0bcf85
Update type annotations
1 rok temu
Jakub Klinkovský
3e9da21a84
Add more type hints ( #338 )
* Fix formatting
* Add quick mypy config file
* Add type hints: mwparserfromhell.definitions
* Add type hints: mwparserfromhell.wikicode
* Add type hints: mwparserfromhell.nodes._base
* Add type hints: mwparserfromhell.nodes.argument
* Add type hints: mwparserfromhell.nodes.comment
* Add type hints: mwparserfromhell.nodes.external_link
* Add type hints: mwparserfromhell.nodes.heading
* Add type hints: mwparserfromhell.nodes.html_entity
* Add type hints: mwparserfromhell.nodes.tag
* Add type hints: mwparserfromhell.nodes.template
* Add type hints: mwparserfromhell.nodes.text
* Add type hints: mwparserfromhell.nodes.wikilink
* Add type hints: mwparserfromhell.nodes.extras.attribute
* Add type hints: mwparserfromhell.nodes.extras.parameter
* Fix typo in docstring
---------
Co-authored-by: Jakub Klinkovský <1289205+lahwaacz@users.noreply.github.com>
1 rok temu
Cateon
5f57d2e373
feat: update template via encapsulated method ( #337 )
* feat: update template via encapsulated method
* remove type-hints
* refactor: by lahwaacz
Co-authored-by: Jakub Klinkovský <lahwaacz@users.noreply.github.com>
* fix: tweak
* refactor: dict.update() -like style
---------
Co-authored-by: Jakub Klinkovský <lahwaacz@users.noreply.github.com>
1 rok temu
Shantanu
4798903d7a
Add Python 3.13 to build ( #334 )
.
1 rok temu
Richard Barnes
537e1e19e3
Make fallthrough explicit in tok_parse.c ( #326 )
* Make fallthrough explicit in tok_parse.c
In response to #325
* Update tok_parse.c
2 lat temu
Ben Kurtovic
4e73af2fab
Fix README code block formatting
2 lat temu
Ben Kurtovic
e0150e359e
Update changelog, rerun hooks, add an assert
2 lat temu
E. Seiver
e24c6e4001
Template.add `after=` parameter ( #315 )
* +after param to Template.add
also updates docstring
* Template.add param after test
2 lat temu
Ben Kurtovic
74e0be1afe
Version bump
2 lat temu
Ben Kurtovic
d65de575a4
release/0.6.6
2 lat temu
Ben Kurtovic
e00c202ce9
Fix missing dependency in appveyor config
2 lat temu
Ben Kurtovic
b997514125
run-tests: with-extension env var must be set when building project
2 lat temu
Ben Kurtovic
fed08e09f3
Add missing dependencies to run-tests action
2 lat temu
Ben Kurtovic
edb448fa29
Add Python 3.12 to build
2 lat temu
Ben Kurtovic
28343dfaf1
Update changelog
2 lat temu
David Ebbo
4acb885b9f
Increase MAX_DEPTH to 100 ( #314 )
* Increase MAX_DEPTH to 100
* Update nested_templates_and_style_tags to cover new limit
2 lat temu
Ben Kurtovic
b7ebc705c8
Update changelog
2 lat temu
Ben Kurtovic
fc1440a7b3
Fix building on Python 3.12 ( fixes #312 )
2 lat temu
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
3 lat temu
Ben Kurtovic
3e62aa136f
Fix docs build
3 lat temu
Ben Kurtovic
ee935f69dd
Version bump and fix docs build
3 lat temu
Ben Kurtovic
0f5c1daf78
release/0.6.5
3 lat temu
Ben Kurtovic
258aac9884
Downgrade checkout action (?)
3 lat temu
Ben Kurtovic
af83306e04
Fix pickling SmartLists ( fixes #289 )
3 lat temu
Ben Kurtovic
c2efba5fc1
Update actions versions
3 lat temu
Ben Kurtovic
1f8121c691
Update Linux and Windows wheel builds
3 lat temu
Ben Kurtovic
41a86058af
Drop 3.6 in MacOS wheel build
3 lat temu
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
3 lat temu
Kunal Mehta
d3b8469e89
Move tests to GitHub Actions instead of Travis CI
5 lat temu
Ben Kurtovic
2241ce0978
Update changelog
3 lat temu
deClerambaul
0f89f4426b
Add missing TagData_dealloc ( #303 )
3 lat temu
Ben Kurtovic
cabdf77b36
Update appveyor config
3 lat temu
Ben Kurtovic
f963df7f82
Fix parsing of leading zeros in named HTML entities ( fixes #288 )
4 lat temu
Ben Kurtovic
6665505251
Version bump; switch from master+develop to main
4 lat temu
Ben Kurtovic
7738752b01
release/0.6.4
4 lat temu
Ben Kurtovic
2155638b91
Fix regression in parsing nested wikilinks in file captions
This regression seems more severe than the bug the commit was
attempting to fix (incorrect parsing of nested wikilinks in normal
links), so that bug is reintroduced until localization-aware parsing
that allows us to detect file links is added.
This commit partially reverts fac60dee48 .
4 lat temu
Ben Kurtovic
492fc22283
Congruity in GH Actions step names
4 lat temu
Ben Kurtovic
abcf6298aa
Attempt to fix build again
5 lat temu
Ben Kurtovic
70ec3e36e3
Attempt to improve GH Actions wheel building
5 lat temu
Ben Kurtovic
a7098af650
Thanks YAML, very cool
5 lat temu
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
5 lat temu