test_ok2/doc/en/example
Pierre Sassoulas 4588653b24 Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff
ruff is faster and handle everything we had prior.

isort configuration done based on the indication from
https://github.com/astral-sh/ruff/issues/4670, previousely based on
reorder-python-import (#11896)

flake8-docstrings was a wrapper around pydocstyle (now archived) that
explicitly asks to use ruff in https://github.com/PyCQA/pydocstyle/pull/658.

flake8-typing-import is useful mainly for project that support python 3.7
and the one useful check will be implemented in https://github.com/astral-sh/ruff/issues/2302

We need to keep blacken-doc because ruff does not handle detection
of python code inside .md and .rst. The direct link to the repo is
now used to avoid a redirection.

Manual fixes:
- Lines that became too long
- % formatting that was not done automatically
- type: ignore that were moved around
- noqa of hard to fix issues (UP031 generally)
- fmt: off and fmt: on that is not really identical
  between black and ruff
- autofix re-order in pre-commit from faster to slower

Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-02-02 09:27:00 +01:00
..
assertion Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff 2024-02-02 09:27:00 +01:00
customdirectory Rework Session and Package collection 2023-12-10 17:01:39 +02:00
fixtures Minor updates to fixtures docs (#10724) 2023-02-28 12:42:33 -03:00
nonpython doc: fix EncodingWarnings in examples (#11158) 2023-07-08 15:40:05 -03:00
attic.rst doc: Reformat/Modernize some code (#9900) 2022-04-28 16:30:16 +02:00
conftest.py Rework Session and Package collection 2023-12-10 17:01:39 +02:00
customdirectory.rst Rework Session and Package collection 2023-12-10 17:01:39 +02:00
index.rst Remove deprecated nose support 2024-01-02 12:20:47 +02:00
markers.rst Merge pull request #11744 from pytest-dev/release-8.0.0rc1 2024-01-02 10:59:26 +02:00
multipython.py Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff 2024-02-02 09:27:00 +01:00
nonpython.rst Merge pull request #11744 from pytest-dev/release-8.0.0rc1 2024-01-02 10:59:26 +02:00
parametrize.rst Merge pull request #11864 from bluetech/release-8.0.0 2024-01-28 00:00:15 +02:00
pythoncollection.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
pythoncollection.rst Merge pull request #11864 from bluetech/release-8.0.0 2024-01-28 00:00:15 +02:00
reportingdemo.rst Merge pull request #11744 from pytest-dev/release-8.0.0rc1 2024-01-02 10:59:26 +02:00
simple.rst Merge pull request #11835 from pytest-dev/release-8.0.0rc2 2024-01-17 23:45:21 +02:00
special.rst Fix output of example test method. 2021-11-30 14:55:05 +11:00
xfail_demo.py Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff 2024-02-02 09:27:00 +01:00