| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run pyupgrade --py39-plus in all files except _vendor | Hernan Grecco | 2023-04-29 | 1 | -3/+3 |
| | | |||||
| * | Add test for better test coverage | Jules Chéron | 2022-03-30 | 1 | -6/+16 |
| | | |||||
| * | Run new stable black version | Jules Chéron | 2022-03-30 | 1 | -2/+2 |
| | | |||||
| * | Fix babel format for Unit | Jules Chéron | 2021-06-16 | 1 | -0/+7 |
| | | | | | | | | | - Add unit test - Update unit.py - Update CHANGES Closes #1085 | ||||
| * | Migration of all tests to pytest | Hernan | 2021-01-10 | 1 | -80/+79 |
| | | | | | | | | | | | | | | | | | | The intento of this large commit is to move away from unittest into pytest. To speed-up migration we made certain choices that might need to be revisted in the future: - use pytest-subtests to replace unittest subtest infrastructure A lot of this might be better using parametrize - While we have removed certain classes and flatten them to functions, some were kept for no particular reason (rewriting the QuantityTestCase base class) - We have created some fixtures but not optimized. Feature optimization (i.e. using global registries for certain tests might speed up testing as it will void constructing the registry over and over) | ||||
| * | black | Keewis | 2020-03-08 | 1 | -3/+1 |
| | | |||||
| * | Make `__str__` and `__format__` locale aware | Hernan | 2020-02-11 | 1 | -2/+33 |
| | | | | | | | | | | | | | | | | | | With this commit, all string formatting operations are locale aware >>> ureg.set_fmt_locale('fr_FR') >>> str(accel) '1.3 mètre par seconde²' >>> "%s" % accel '1.3 mètre par seconde²' >>> "{}".format(accel) '1.3 mètre par seconde²' It should not break any code as the default locale value for the Registry is `None` (meaning do not localize). Close #984 | ||||
| * | black | Keewis | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | linters | Hernan | 2019-12-21 | 1 | -10/+5 |
| | | |||||
| * | Added tests | Hernan | 2019-12-21 | 1 | -1/+31 |
| | | |||||
| * | Remove redundant encoding information (utf8 is the default) | Guido Imperiale | 2019-12-13 | 1 | -2/+0 |
| | | |||||
| * | isort | Guido Imperiale | 2019-12-13 | 1 | -2/+3 |
| | | |||||
| * | black | Guido Imperiale | 2019-12-13 | 1 | -17/+8 |
| | | |||||
| * | Remove tokenize backport | Guido Imperiale | 2019-12-04 | 1 | -1/+1 |
| | | |||||
| * | Remove 2.7 support from codebase | Guido Imperiale | 2019-12-03 | 1 | -1/+1 |
| | | |||||
| * | adjusted to cope with upstream babel tip | alexbodn@gmail.com | 2016-08-06 | 1 | -7/+9 |
| | | |||||
| * | another attempt to overcome syntax error with python 3.2 on travis | alexbodn@gmail.com | 2016-03-25 | 1 | -4/+8 |
| | | |||||
| * | another attempt to overcome syntax error with python 3.2 on travis | alexbodn@gmail.com | 2016-03-25 | 1 | -4/+4 |
| | | |||||
| * | changed syntax in test_babel to hopefully overcome error in python 3.2 | alexbodn@gmail.com | 2016-03-25 | 1 | -8/+4 |
| | | |||||
| * | added translation of the measuring systems by locale. | alexbodn@gmail.com | 2016-03-25 | 1 | -1/+8 |
| | | | | | renamed the babel_units module to babel_names | ||||
| * | properly added new files to git and added test | alex bodnaru | 2016-02-22 | 1 | -0/+30 |
