Nicola Soranzo
|
a2018a5e60
|
Enable flake8-comprehensions ruff rules
but allow `dict()` calls that make use of keyword arguments (e.g.,
`dict(a=1, b=2)`).
|
2024-03-09 19:11:20 +00:00 |
|
Nicola Soranzo
|
e975ca3754
|
Update to black 2024 stable style
|
2024-01-30 18:09:51 +00:00 |
|
Nicola Soranzo
|
64af46c4ae
|
Fix new B018 errors raised by ruff 0.0.260
|
2023-04-13 16:53:01 +01:00 |
|
Nicola Soranzo
|
c35d8f2a06
|
Replace `unittest.TestCase` with pytest-based partial re-implementation
Also:
- Rename `FooBarTestCase` test classes as `TestFooBar`. These were collected
by pytest only because they were `unittest.TestCase` derived, but normally
pytest collects only test classes whose name starts with `Test`, see
https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-python_classes
|
2022-09-27 03:34:58 +01:00 |
|
Nicola Soranzo
|
f3b04b8f26
|
Remove `unittest.main()` calls
|
2022-09-21 23:50:05 +01:00 |
|
Nicola Soranzo
|
b5c7e2c86a
|
Replace `self.assert* method calls with plain asserts in test/`
using https://github.com/pytest-dev/unittest2pytest with the following command:
```
unittest2pytest -f self_assert -w -n test/
```
(excluding ``self.assertRaises*`` method calls).
|
2022-09-21 23:50:05 +01:00 |
|
Nicola Soranzo
|
14b1730eb2
|
Combine "as" imports with other "from" imports
|
2022-06-20 20:06:30 +01:00 |
|
mvdbeek
|
3818f50af5
|
Drop interactive environments
|
2022-03-23 15:43:24 +01:00 |
|
Nicola Soranzo
|
f8bd5d4bea
|
Merge branch 'release_22.01' into dev
|
2022-02-21 17:00:55 +00:00 |
|
John Chilton
|
06ecddf6f8
|
Try to unit test more of DictParser in Viz component.
Changed a little during 22.01 release cycle - making sure did not regress.
|
2022-02-15 12:47:21 -05:00 |
|
Dannon Baker
|
623a5e165a
|
Apply black formatting.
Apply isort.
|
2022-02-03 07:42:20 -05:00 |
|
John Chilton
|
7006e2a7e5
|
More unit test fixes.
|
2021-10-08 11:04:00 -04:00 |
|
John Chilton
|
fe0c4ab4e2
|
Migrate more unit tests into galaxy-app's test suite.
|
2021-10-07 11:05:03 -04:00 |
|