| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* Update pre-commit config syntax
* CI: run pre-commit
* CI: set up pip caching
|
| |
|
|
|
|
| |
Co-authored-by: Jun Omae (大前 潤) <42682+jun66j5@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
* Use Python 3.11
* Use Sphinx 5 (and update extlinks configuration)
* Use Python 3 intersphinx mapping
* Install Babel from the build directory
Refs https://github.com/python-babel/babel/issues/920
|
| |
|
| |
|
|
|
| |
Also remove mentions of Python 2 workarounds, since they aren't applicable anymore.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #775
|
|
|
|
|
|
| |
Would have used https://sphinxcontrib-autoprogram.readthedocs.io/en/stable/ if we used argparse...
Fixes #771
|
|
|
|
| |
Fixes #575
|
|
|
|
| |
Refs #801
|
| |
|
|
|
|
| |
Fixes #823
|
| |
|
|
|
|
|
| |
* Update copyright year
* Update changelog
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* docs/numbers.rst : test format of revised comments
* docs/numbers.rst : test final doc changes
* docs/numbers.rst : refine format/language
* docs/numbers.rst : refine language/format
* docs/numbers.rst : refine language/format
* docs/numbers.rst : experiment with spacing
|
| |
| |
| | |
The documentation refers to the license as the license for _flask_ instead of Babel.
|
|/
|
|
|
|
|
|
| |
The declaration of __iter__ under the special-members
directive makes it visible in the documentation.
The docstring describing __iter__ already exists.
Closes https://github.com/python-babel/babel/issues/128
|
| |
|
|
|
| |
closes #670
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
easy_install is deprecated and its use is discouraged by PyPA:
https://setuptools.readthedocs.io/en/latest/easy_install.html
> Warning: Easy Install is deprecated. Do not use it. Instead use pip.
Follow upstream advice and only recommended supported tools.
|
| |
|
| |
|
|
|
|
| |
Updated docs and code comments.
|
|\
| |
| | |
Update all pypi.python.org URLs to pypi.org
|
| |
| |
| |
| |
| |
| | |
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In detail:
1. Use the already existing get_currency_name function which does
the plural form logic already.
2. Create a similar `get_currency_unit_pattern` function.
This function could be useful if someone wanted to write
something very similar to the _format_currency_long_name
functionality but with some different customizations,
so it is now publicly documented.
3. Simplify the _format_currency_long_name function - it
is now much flatter.
4. Add more tests to ensure certain cases are really covered.
(e.g. different unit patterns depending on the count)
An upshot of the changes is that we have reduced (and made more consistent)
the number of places where we need to peek into `Locale._data` -
get_currency_name and get_currency_unit_pattern are the only places that
babel.numbers does this.
|
| |
|
|\
| |
| | |
Authors and license stuff
|
| | |
|
|/
|
|
|
|
|
|
|
| |
````>>> dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC)
File "<stdin>", line 1
dt = datetime(2007, 04, 01, 15, 30, tzinfo=UTC)
^
SyntaxError: invalid token````
See: https://docs.python.org/3.5/library/datetime.html#datetime.datetime.month
|
|
|
|
|
|
|
|
|
| |
Because default_locale is eager, it generates misleading documentation when built (including on the site) as the doc will show the LC_TIME for the machine which built the doc.
An explicit autofunction signature fixes that and provides a more correct view of the signature.
An alternative fix would be for the LC_TIME value in the module to be a custom object with a repr of LC_TIME or something along those lines.
Fixes #542
|
|\
| |
| | |
Drop support for EOL Python 2.6 and 3.3
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
The link to the python gettext module was dead. So, redirect the user
to the official doc.
|