Ran Benita
ee0b09c61f
loadscope: use dict instead of OrderedDict
...
These days dicts are guaranteed to be ordered, so no need to use
OrderedDict in two of the three cases (the remaining case needs
`popitem(last=False)`).
2024-04-06 21:54:44 +03:00
Ran Benita
503c5ee828
loadscope: remove redundant None check
...
self.config can't be None.
2024-04-06 21:54:44 +03:00
Ran Benita
31de42ffa5
Bump min pytest to 7.0.0
...
Refs #1057
2024-04-05 11:50:11 +03:00
Ran Benita
816c9dcda1
Use ruff instead of black, flake8, autoflake, pyupgrade
...
Config adapted from pytest.
2024-04-03 00:19:32 +03:00
Ran Benita
c01de1c73e
Make docstring style more consistent
2024-04-03 00:19:31 +03:00
Ran Benita
e3b69d4f29
Sort imports
...
Using pytest's style.
2024-04-03 00:19:31 +03:00
Henk-Jaap Wagenaar
3fe877bc6d
LoadScope scheduler: Sort scopes by number of tests to assign biggest scopes first ( #778 )
...
Follow up to # 632.
---------
Co-authored-by: Jörg Kohlsdorf <joerg@cornershopapp.com >
2023-11-21 11:32:29 -03:00
pre-commit-ci[bot]
c695763e92
[pre-commit.ci] pre-commit autoupdate ( #869 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/autoflake: v2.0.0 → v2.0.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1 )
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0 )
- [github.com/asottile/blacken-docs: v1.12.1 → 1.13.0](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.13.0 )
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2023-02-07 07:58:55 -03:00
Bruno Oliveira
d7d396a7f9
Run pyupgrade --py37-plus
2022-11-05 12:01:07 -03:00
Anthony Sottile
1471164197
Replace usages of py.log by custom implementation ( #822 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2022-10-22 07:26:01 -03:00
Kian-Meng Ang
d79ef915a2
Fix typos
2022-02-07 21:59:38 +08:00
xoviat
f861f1667d
add new pytest_handlecrashitem hook
...
allows handling and rescheduling crash tests
PR #651
Co-authored-by: xoviat <xoviat@users.noreply.github.com >
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2021-04-27 09:07:49 -03:00
Hugo
22ae7ff7af
Upgrade Python syntax with pyupgrade --py3-plus
2020-08-03 22:52:03 +10:00
Hugo
157871c026
Upgrade Python syntax with pyupgrade
2019-12-02 17:57:38 +02:00
Bruno Oliveira
7d41db3685
Adopt 'src' layout and add 'testing' extras
2019-06-06 19:35:13 -03:00