pytest2/doc/en
Pierre Sassoulas c11cdfabd1
Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff (#11911)
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 20:21:46 +01:00
..
_templates Declutter doc entry page (#9969) 2022-05-24 10:23:39 +02:00
announce Prepare release version 8.0.0 2024-01-27 23:23:56 +02:00
example Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff (#11911) 2024-02-02 20:21:46 +01:00
explanation doc: fix some broken Sphinx references 2023-12-07 00:30:35 +02:00
how-to [8.0.x] Upgrade blacken-doc to black's 2024 style (#11899) (#11900) 2024-01-31 10:46:50 -03: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 [8.0.x] Upgrade blacken-doc to black's 2024 style (#11899) (#11900) 2024-01-31 10:46:50 -03:00
Makefile fix #8818 - run regendoc without tox cachedir 2021-10-04 08:56:26 +02:00
adopt.rst Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
backwards-compatibility.rst doc: fix some broken Sphinx references 2023-12-07 00:30:35 +02:00
builtin.rst Prepare release version 8.0.0 2024-01-27 23:23:56 +02:00
changelog.rst [8.0.x] Add a changelog entry about FixtureManager.getfixtureclosure losing a default argument (#11891) 2024-01-30 09:55:36 -03:00
conf.py Migrate from autoflake, black, isort, pyupgrade, flake8 and pydocstyle, to ruff (#11911) 2024-02-02 20:21:46 +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 docs on Python 2.7 and 3.4 Support (#9957) 2022-05-16 10:17:18 +02:00
contributing.rst Updated documentation from txt to rst 2015-08-04 16:41:02 +05:30
deprecations.rst [8.0.x] Upgrade blacken-doc to black's 2024 style (#11899) (#11900) 2024-01-31 10:46:50 -03:00
development_guide.rst adopt main terminology in the configs 2021-03-09 22:35:34 +01:00
funcarg_compare.rst [8.0.x] Upgrade blacken-doc to black's 2024 style (#11899) (#11900) 2024-01-31 10:46:50 -03:00
funcargs.rst fix line endings 2018-05-23 16:45:23 +02:00
getting-started.rst Prepare release version 8.0.0 2024-01-27 23:23:56 +02:00
historical-notes.rst [8.0.x] Upgrade blacken-doc to black's 2024 style (#11899) (#11900) 2024-01-31 10:46:50 -03:00
history.rst Fix typos (#9424) 2021-12-27 09:23:15 -03:00
index.rst Prepare release version 8.0.0rc1 2023-12-31 14:40:46 +02: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 added "docs/en" directory and moved 2012-06-06 08:52:53 +09:00
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