Ran Benita
a3b9a98126
looponfail: remove unneeded setup(out) parameter
...
It's not used.
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
Jeremy Hiatt
51ef94439c
Avoid modifying path placeholders created by editable installs
...
The setuptools implementation of editable installs will insert a
placeholder entry into sys.path as part of its magic to register its
custom import mechanism.
These are not real filesystem paths and as such should not be
rewritten to absolute paths.
2024-02-28 15:17:12 -08:00
Bruno Oliveira
f57c65839b
Fix '-n logical' inconsistencies and review --help formatting ( #1022 )
...
Fix #1021 and review formatting of the --help messages, following pytest's rules for consistency.
2024-02-25 11:49:41 -03:00
pre-commit-ci[bot]
3f27fd6a23
[pre-commit.ci] pre-commit autoupdate ( #1013 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1 )
* [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>
2024-01-29 20:12:34 -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
Bruno Oliveira
1e9f6a7c3c
Fix type annotation for pytest 6.2
2022-10-24 12:03:14 -03:00
Bruno Oliveira
8b0856a986
Deprecate looponfail plugin
...
Fix #826
2022-10-22 10:43:02 -03:00
Bruno Oliveira
25cc1a4119
Replace py.path.local usages by pathlib.Path
2022-10-21 22:54:17 -03:00
Ran Benita
b85b71cd22
Add explicit pytest.hookspec/hookimpl annotations, avoid legacy tryfirst/trylast marks
2021-11-02 09:42:00 +02:00
Ran Benita
ae58690f3e
Avoid soft-deprecated pathlist ini type on pytest>=7
...
This allows the test suite to succeed with the legacypath plugin
blocked.
Fix #722 .
2021-11-01 09:06:32 +02:00
pre-commit-ci[bot]
0c84201b40
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-05-31 19:13:26 +00: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