Ben Kurtovic
6e0dcf6359
Switch to ruff
hace 1 año
Ben Kurtovic
52ec0bcf85
Update type annotations
hace 1 año
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>
hace 1 año
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>
hace 1 año
Shantanu
4798903d7a
Add Python 3.13 to build ( #334 )
.
hace 1 año
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
hace 2 años
Ben Kurtovic
4e73af2fab
Fix README code block formatting
hace 2 años
Ben Kurtovic
e0150e359e
Update changelog, rerun hooks, add an assert
hace 2 años
E. Seiver
e24c6e4001
Template.add `after=` parameter ( #315 )
* +after param to Template.add
also updates docstring
* Template.add param after test
hace 2 años
Ben Kurtovic
74e0be1afe
Version bump
hace 2 años
Ben Kurtovic
d65de575a4
release/0.6.6
hace 2 años
Ben Kurtovic
e00c202ce9
Fix missing dependency in appveyor config
hace 2 años
Ben Kurtovic
b997514125
run-tests: with-extension env var must be set when building project
hace 2 años
Ben Kurtovic
fed08e09f3
Add missing dependencies to run-tests action
hace 2 años
Ben Kurtovic
edb448fa29
Add Python 3.12 to build
hace 2 años
Ben Kurtovic
28343dfaf1
Update changelog
hace 2 años
David Ebbo
4acb885b9f
Increase MAX_DEPTH to 100 ( #314 )
* Increase MAX_DEPTH to 100
* Update nested_templates_and_style_tags to cover new limit
hace 2 años
Ben Kurtovic
b7ebc705c8
Update changelog
hace 2 años
Ben Kurtovic
fc1440a7b3
Fix building on Python 3.12 ( fixes #312 )
hace 2 años
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
hace 3 años
Ben Kurtovic
3e62aa136f
Fix docs build
hace 3 años
Ben Kurtovic
ee935f69dd
Version bump and fix docs build
hace 3 años
Ben Kurtovic
0f5c1daf78
release/0.6.5
hace 3 años
Ben Kurtovic
258aac9884
Downgrade checkout action (?)
hace 3 años
Ben Kurtovic
af83306e04
Fix pickling SmartLists ( fixes #289 )
hace 3 años
Ben Kurtovic
c2efba5fc1
Update actions versions
hace 3 años
Ben Kurtovic
1f8121c691
Update Linux and Windows wheel builds
hace 3 años
Ben Kurtovic
41a86058af
Drop 3.6 in MacOS wheel build
hace 3 años
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
hace 3 años
Kunal Mehta
d3b8469e89
Move tests to GitHub Actions instead of Travis CI
hace 5 años
Ben Kurtovic
2241ce0978
Update changelog
hace 3 años
deClerambaul
0f89f4426b
Add missing TagData_dealloc ( #303 )
hace 3 años
Ben Kurtovic
cabdf77b36
Update appveyor config
hace 3 años
Ben Kurtovic
f963df7f82
Fix parsing of leading zeros in named HTML entities ( fixes #288 )
hace 4 años
Ben Kurtovic
6665505251
Version bump; switch from master+develop to main
hace 4 años
Ben Kurtovic
7738752b01
release/0.6.4
hace 4 años
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 .
hace 4 años
Ben Kurtovic
492fc22283
Congruity in GH Actions step names
hace 4 años
Ben Kurtovic
abcf6298aa
Attempt to fix build again
hace 5 años
Ben Kurtovic
70ec3e36e3
Attempt to improve GH Actions wheel building
hace 5 años
Ben Kurtovic
a7098af650
Thanks YAML, very cool
hace 5 años
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
hace 5 años
Ben Kurtovic
0a26fc6200
Version bump
hace 5 años
Ben Kurtovic
be4746f73d
release/0.6.3
hace 5 años
Ben Kurtovic
c7d1c3d660
Add pre-commit hooks
hace 5 años
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
hace 5 años
Ben Kurtovic
911d7e5f88
Clean up external links parsing logic and fix integer conversion
hace 5 años
Ben Kurtovic
10e63cd452
Update changelog
hace 5 años
odidev
3a9d63fccb
Add linux aarch64 wheel build support ( #276 )
Signed-off-by: odidev <odidev@puresoftware.com>
hace 5 años
Ben Kurtovic
dcf7ba4e79
Version bump
hace 5 años