| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |\
| | |
| | | |
Add github actions
|
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1229: Change deprecated assertEquals to assertEqual in tests r=hgrecco a=eumiro
- [ ] Closes # (insert issue number)
- [x] Executed ``pre-commit run --all-files`` with no errors
- [x] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Miroslav Šedivý <6774676+eumiro@users.noreply.github.com>
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1228: Remove Python2 numeric int/float converting relics r=hgrecco a=eumiro
- [ ] Closes # (insert issue number)
- [x] Executed ``pre-commit run --all-files`` with no errors
- [x] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Miroslav Šedivý <6774676+eumiro@users.noreply.github.com>
|
| | |/ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1227: Fix typos and remove unnecessary escaping and parentheses r=hgrecco a=eumiro
- [ ] Closes # (insert issue number)
- [x] Executed ``pre-commit run --all-files`` with no errors
- [x] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Miroslav Šedivý <6774676+eumiro@users.noreply.github.com>
|
| | | | |
|
| | | | |
|
| | |/ |
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1226: Parse NumPy version with LooseVersion r=hgrecco a=hroncok
StrictVersion cannot parse rc versions:
ValueError: invalid version number '1.20.0rc2'
- [ ] Closes # (insert issue number)
- [ ] Executed ``pre-commit run --all-files`` with no errors
- [ ] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Sorry I have not done any of this. I've edited the file on GitHub directly.
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
|
| |/
| |
| |
| |
| | |
StrictVersion cannot parse rc versions:
ValueError: invalid version number '1.20.0rc2'
|
| |\
| | |
| | | |
Several PRs together
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1224: Updated linter r=hgrecco a=hgrecco
- [x] Closes #1223 (insert issue number)
- [x] Executed ``pre-commit run --all-files`` with no errors
- [ ] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Hernan <hernan.grecco@gmail.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
|
|\ \ \ |
|
| | | | |
|
|\ \ \ \ |
|
| |/ / / |
|
| | | | |
|
|\ \ \ \ |
|
| |/ / / |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1222: automerge for changes r=hgrecco a=hgrecco
- [ ] Closes # (insert issue number)
- [ ] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [ ] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Hernan <hernan.grecco@gmail.com>
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
1200: Add sign to numpy_func.py r=hgrecco a=rtesse
- [x] Closes #1174
- [x] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [x] The change is fully covered by automated unit tests
- [x] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Robin Tesse <robin.tesse@ulb.be>
|
| | | | |/
| | | |/| |
|
| | |\ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1187: Implements a first benchmark suite. r=hgrecco a=hgrecco
The benchmark is based on airspeed velocity (asv). Benchmarks are organized with double digits numbers
to create a nice, sorted
00-09: Benchmarks that do not require a registry created during setup
10-19: Benchmarks calling functions directly from the registry
20-29: Benchmarks involving Units and Quantity objects (with scalar values)
30-39: Benchmarks involving Quantity objects (with array values)
Briefly, you can run the the benchmark calling:
$ asv run
or if you want to compare certain commits/branches:
$ asv run master..mybranch
For convenience, we include a list of hashes of all pint versions:
$ asv run HASHFILE:benchmarks/hashes.txt
--
After running the benchmark, run:
$ asv publish
$ asv preview
To get a nice readable output.
More information on: https://asv.readthedocs.io/en/stable/
- [ ] Closes # (insert issue number)
- [ ] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [ ] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file
Co-authored-by: Hernan <hernan.grecco@gmail.com>
|
| | | | | |
|
| |/ / / |
|
| | | | |
|
| |_|/
|/| | |
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The benchmark is based on airspeed velocity (asv). Benchmarks are organized with double digits numbers
to create a nice, sorted
00-09: Benchmarks that do not require a registry created during setup
10-19: Benchmarks calling functions directly from the registry
20-29: Benchmarks involving Units and Quantity objects (with scalar values)
30-39: Benchmarks involving Quantity objects (with array values)
Briefly, you can run the the benchmark calling:
$ asv run
or if you want to compare certain commits/branches:
$ asv run master..mybranch
For convenience, we include a list of hashes of all pint versions:
$ asv run HASHFILE:benchmarks/hashes.txt
--
After running the benchmark, run:
$ asv publish
$ asv preview
To get a nice readable output.
More information on: https://asv.readthedocs.io/en/stable/
|
| |
|