summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove .travis.yml_pytest_migrationHernan2021-01-201-83/+0
|
* Merge branch 'master' into _pytest_migrationHernan2021-01-205-1/+151
|\
| * Merge pull request #1239 from jules-ch/github-actionsHernan Grecco2021-01-205-1/+151
| |\ | | | | | | Add github actions
| | * Add github actionsJules Chéron2021-01-205-1/+151
| |/
* | Fixed tests broken in merge masterHernan2021-01-162-11/+53
| |
* | Merge branch 'master' into _pytest_migrationHernan Grecco2021-01-1612-58/+24
|\ \ | |/
| * Merge #1229bors[bot]2021-01-091-11/+11
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * Change deprecated assertEquals to assertEqual in testsMiroslav Šedivý2021-01-081-11/+11
| | |
| * | Merge #1228bors[bot]2021-01-093-4/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Remove Python2 numeric int/float converting relicsMiroslav Šedivý2021-01-083-4/+4
| | |/
| * | Merge #1227bors[bot]2021-01-0810-19/+19
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Unescape overescaped regexesMiroslav Šedivý2021-01-083-3/+3
| | | |
| | * | Remove redundant parenthesesMiroslav Šedivý2021-01-082-3/+3
| | | |
| | * | Fix typosMiroslav Šedivý2021-01-088-13/+13
| | |/
| * | Merge #1226bors[bot]2021-01-081-3/+3
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * Parse NumPy version with LooseVersionMiro Hrončok2021-01-081-3/+3
| |/ | | | | | | | | StrictVersion cannot parse rc versions: ValueError: invalid version number '1.20.0rc2'
| * Merge pull request #1225 from hgrecco/developHernan Grecco2021-01-077-11/+66
| |\ | | | | | | Several PRs together
| * \ Merge #1224bors[bot]2021-01-0721-218/+246
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | LintersHernan2021-01-161-5/+5
| | | |
* | | | Fixed some helpersHernan2021-01-164-125/+116
| | | |
* | | | Some info in contributing regarding testsHernan2021-01-162-8/+52
| | | |
* | | | Migration of all tests to pytestHernan2021-01-1028-3201/+3286
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | Updated CHANGESHernan2021-01-071-1/+2
| | |
* | | Merge branch 'rfrowe-patch-1' into developHernan2021-01-071-1/+5
|\ \ \
| * | | Fix error on UnitsContainer equality checkRyan Rowe2020-09-251-1/+5
| | | |
* | | | Merge branch 'felixonmars-patch-1' into developHernan2021-01-071-1/+1
|\ \ \ \
| * | | | Correct a typo in systems.pyFelix Yan2020-10-141-1/+1
| |/ / /
* | | | Updated CHANGESHernan2021-01-071-1/+2
| | | |
* | | | Merge branch 'jules-ch-hotfix-1195-scalar-tolist' into developHernan2021-01-073-6/+25
|\ \ \ \
| * | | | Fix scalar ndarray tolist functionJules Chéron2020-10-293-7/+25
| |/ / /
* | | | Updated CHANGESHernan2021-01-071-1/+1
| | | |
* | | | LinterHernan2021-01-071-3/+3
| | | |
* | | | Fixed merge conflictsHernan2021-01-077-5/+41
|\ \ \ \ | |_|_|/ |/| | |
| * | | Merge branch 'master' into comparisonsHernan Grecco2021-01-0718-215/+480
| |\ \ \ | | | |/ | | |/|
| | * | Merge #1222bors[bot]2021-01-071-0/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * \ \ Merge #1200bors[bot]2021-01-073-3/+9
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * | | Add sign to numpy_func.pyRobin Tesse2020-10-313-3/+9
| | | | |/ | | | |/|
| | * | | Merge #1187bors[bot]2021-01-0714-213/+470
| | |\ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | Formatting and changelog.Lewis A. Marshall2020-10-314-10/+18
| | | | |
| * | | | Quantity comparisons ensure other is Quantity.Lewis A. Marshall2020-10-313-3/+24
| |/ / /
* | | | Run linter on all filesHernan2021-01-0718-214/+228
| | | |
* | | | Updated linter to pre-commitHernan2021-01-073-4/+18
| |_|/ |/| |
* | | automerge for changesHernan2021-01-071-0/+1
| |/ |/|
* | Pin babel to 2.8 (2.9 breaks travis)Hernan2021-01-061-1/+1
| |
* | Ignore some benchmark related filesHernan2021-01-062-32/+1
| |
* | Pin pandas version for docs to 1.1.3 (1.2 is failing right now)Hernan2021-01-061-1/+1
| |
* | Updated to 3.9Hernan2021-01-061-1/+1
| |
* | import in benchmark should be ignored by linterHernan2020-10-091-1/+1
| |
* | Implements a first benchmark suite.Hernan2020-10-0814-212/+500
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/
* Back to development: 0.17Hernan2020-09-222-1/+7
|