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