test_ok2/doc/en
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
..
_templates Declutter doc entry page (#9969) 2022-05-24 10:23:39 +02:00
announce Merge pull request #11864 from bluetech/release-8.0.0 2024-01-28 00:00:15 +02:00
example Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff 2024-02-02 09:27:00 +01:00
explanation Remove deprecated nose support 2024-01-02 12:20:47 +02:00
how-to Upgrade blacken-doc to black's 2024 style (#11899) 2024-01-31 13:53:21 +01:00
img Use transparent PNG for logo (#8159) 2020-12-16 11:19:45 -03:00
proposals Replace hardcoded links to PyPI with extlinks (#9224) 2021-10-22 09:47:57 -03:00
reference Upgrade blacken-doc to black's 2024 style (#11899) 2024-01-31 13:53:21 +01:00
Makefile fix #8818 - run regendoc without tox cachedir 2021-10-04 08:56:26 +02:00
adopt.rst Remove deprecated nose support 2024-01-02 12:20:47 +02:00
backwards-compatibility.rst doc: fix some broken Sphinx references 2023-12-07 00:30:35 +02:00
builtin.rst Merge pull request #11864 from bluetech/release-8.0.0 2024-01-28 00:00:15 +02:00
changelog.rst Add changelog entry about FixtureManager.getfixtureclosure changing (#11887) 2024-01-30 09:41:18 -03:00
conf.py Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff 2024-02-02 09:27:00 +01:00
conftest.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
contact.rst adding contact and badge for pytest-dev discord server (#9078) 2021-09-12 18:22:44 +01:00
contents.rst Remove deprecated nose support 2024-01-02 12:20:47 +02:00
contributing.rst Updated documentation from txt to rst 2015-08-04 16:41:02 +05:30
deprecations.rst Upgrade blacken-doc to black's 2024 style (#11899) 2024-01-31 13:53:21 +01:00
development_guide.rst adopt main terminology in the configs 2021-03-09 22:35:34 +01:00
funcarg_compare.rst Upgrade blacken-doc to black's 2024 style (#11899) 2024-01-31 13:53:21 +01:00
funcargs.rst fix line endings 2018-05-23 16:45:23 +02:00
getting-started.rst Merge pull request #11864 from bluetech/release-8.0.0 2024-01-28 00:00:15 +02:00
historical-notes.rst Upgrade blacken-doc to black's 2024 style (#11899) 2024-01-31 13:53:21 +01:00
history.rst Fix typos (#9424) 2021-12-27 09:23:15 -03:00
index.rst doc: Remove sold out training (#11823) 2024-01-16 14:53:10 +01:00
license.rst Change copyright notice so yearly updates are not needed 2021-11-30 09:28:23 -03:00
naming20.rst Updated documentation from txt to rst 2015-08-04 16:41:02 +05:30
pytest.ini
recwarn.rst Add docs for the warnings functionality 2017-03-20 23:35:01 -03:00
requirements.txt doc: allow Sphinx 6.x and 7.x (#11568) 2023-10-29 23:00:27 +01:00
sponsor.rst fix typos in docs 2019-12-19 10:35:15 +01:00
talks.rst Update training list 2022-06-10 15:40:53 +02:00
tidelift.rst Update Tidelift docs with latest campaign 2019-10-24 14:58:58 -03:00
yieldfixture.rst Remove all version references to obsolete pytest versions 2019-04-28 12:37:58 -03:00