Ben Kurtovic
d46f047dcb
Fix build-wheels workflow
1 vuosi sitten
Ben Kurtovic
ab4caf3805
Fix a failing test
1 vuosi sitten
Ben Kurtovic
c4ac99258f
Fix pyright issues in tests
1 vuosi sitten
Ben Kurtovic
f7a8702cae
Fix pyright issues in src/mwparserfromhell
1 vuosi sitten
Ben Kurtovic
d4f6bffd23
Update type annotations and rerun ruff
1 vuosi sitten
Ben Kurtovic
4a46d00bf4
Drop support for EOL Python 3.8
1 vuosi sitten
Ben Kurtovic
b2c8d38c0d
Fix one Generator annotation
1 vuosi sitten
Ben Kurtovic
16681fd182
Fix one Generator annotation
1 vuosi sitten
Ben Kurtovic
7ef2c45b30
Fix one Generator annotation
1 vuosi sitten
Ben Kurtovic
80b848354c
Bump actions/upload-artifact to v4
1 vuosi sitten
Ben Kurtovic
95c6bda2ca
Run ruff
1 vuosi sitten
Ben Kurtovic
6e0dcf6359
Switch to ruff
1 vuosi sitten
Ben Kurtovic
52ec0bcf85
Update type annotations
1 vuosi sitten
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 vuosi sitten
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 vuosi sitten
Shantanu
4798903d7a
Add Python 3.13 to build ( #334 )
.
1 vuosi sitten
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 vuotta sitten
Ben Kurtovic
4e73af2fab
Fix README code block formatting
2 vuotta sitten
Ben Kurtovic
e0150e359e
Update changelog, rerun hooks, add an assert
2 vuotta sitten
E. Seiver
e24c6e4001
Template.add `after=` parameter ( #315 )
* +after param to Template.add
also updates docstring
* Template.add param after test
2 vuotta sitten
Ben Kurtovic
74e0be1afe
Version bump
2 vuotta sitten
Ben Kurtovic
d65de575a4
release/0.6.6
2 vuotta sitten
Ben Kurtovic
e00c202ce9
Fix missing dependency in appveyor config
2 vuotta sitten
Ben Kurtovic
b997514125
run-tests: with-extension env var must be set when building project
2 vuotta sitten
Ben Kurtovic
fed08e09f3
Add missing dependencies to run-tests action
2 vuotta sitten
Ben Kurtovic
edb448fa29
Add Python 3.12 to build
2 vuotta sitten
Ben Kurtovic
28343dfaf1
Update changelog
2 vuotta sitten
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 vuotta sitten
Ben Kurtovic
b7ebc705c8
Update changelog
2 vuotta sitten
Ben Kurtovic
fc1440a7b3
Fix building on Python 3.12 ( fixes #312 )
2 vuotta sitten
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
3 vuotta sitten
Ben Kurtovic
3e62aa136f
Fix docs build
3 vuotta sitten
Ben Kurtovic
ee935f69dd
Version bump and fix docs build
3 vuotta sitten
Ben Kurtovic
0f5c1daf78
release/0.6.5
3 vuotta sitten
Ben Kurtovic
258aac9884
Downgrade checkout action (?)
3 vuotta sitten
Ben Kurtovic
af83306e04
Fix pickling SmartLists ( fixes #289 )
3 vuotta sitten
Ben Kurtovic
c2efba5fc1
Update actions versions
3 vuotta sitten
Ben Kurtovic
1f8121c691
Update Linux and Windows wheel builds
3 vuotta sitten
Ben Kurtovic
41a86058af
Drop 3.6 in MacOS wheel build
3 vuotta sitten
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
3 vuotta sitten
Kunal Mehta
d3b8469e89
Move tests to GitHub Actions instead of Travis CI
5 vuotta sitten
Ben Kurtovic
2241ce0978
Update changelog
3 vuotta sitten
deClerambaul
0f89f4426b
Add missing TagData_dealloc ( #303 )
3 vuotta sitten
Ben Kurtovic
cabdf77b36
Update appveyor config
3 vuotta sitten
Ben Kurtovic
f963df7f82
Fix parsing of leading zeros in named HTML entities ( fixes #288 )
4 vuotta sitten
Ben Kurtovic
6665505251
Version bump; switch from master+develop to main
4 vuotta sitten
Ben Kurtovic
7738752b01
release/0.6.4
4 vuotta sitten
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 vuotta sitten
Ben Kurtovic
492fc22283
Congruity in GH Actions step names
4 vuotta sitten
Ben Kurtovic
abcf6298aa
Attempt to fix build again
5 vuotta sitten