Maciej Olko
88be13d059
Allow Path in polib.pofile() ( #13396 )
...
* Allow PathLike in polib.pofile()
* Add missing import
* [pre-commit.ci] auto fixes from pre-commit.com hooks
* Update type to pathlib.Path
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 14:35:05 +01:00
Peter Bierma
119b204ed1
Fix type hint for msgctxt parameter in polib ( #12506 )
2024-08-10 09:33:50 +02:00
Eemeli Aro
5a75515ef4
polib: Fix POEntry.occurrences ( #11661 )
2024-03-26 14:13:29 +01:00
Blaise Kal
8e8204b83f
[polib] Fix POEntry.msgstr_plural annotation ( #11273 )
2024-01-14 12:34:33 +01:00
Sebastian Rittau
b6eaadcfe5
Update typing_extensions imports in third-party stubs ( #11245 )
2024-01-05 15:40:13 +01:00
Nikita Sobolev
3026610797
Mark polib as complete ( #9244 )
2022-11-22 10:18:49 +00:00
Sebastian Rittau
891d46cbb4
Drop Python 2 support from polib ( #7714 )
2022-04-27 12:42:23 +03:00
Alex Waygood
340c6c97ed
Add mypy error codes to type: ignores, remove unused ignores ( #7504 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-03-19 13:10:00 +00:00
Alex Waygood
45a2dad83c
Reduce use of Any in equality methods ( #7081 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-01-30 00:59:00 +02:00
Jelle Zijlstra
0949e9e90d
remove quoted strings ( #6933 )
2022-01-16 14:29:13 -08:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Bas van Beek
5e23e2c19a
Use SupportsIndex where applicable in builtins.pyi ( #5739 )
...
* Use `SupportsIndex` where applicable in `builtins.pyi`
* Remove `None` from the `int.__round__` ndigits parameter
2021-07-09 13:08:19 +03:00
opsyne
9d5046ee7f
polib: fix ordered_metadata return type ( #5735 )
...
Also update version in METADATA.toml.
2021-07-07 19:07:17 +02:00
Eric Traut
4b4ced5fa0
Added missing type annotations and type arguments ( #5070 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com >
2021-02-25 15:09:58 -08:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00