diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9cf29229d2..a6e6f3497e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: rev: 1.15.0 hooks: - id: blacken-docs - additional_dependencies: [black==23.3] + additional_dependencies: [black==23.7] - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.0.280" hooks: diff --git a/docs/changelog/3072.docs.rst b/docs/changelog/3072.docs.rst new file mode 100644 index 0000000000..955ab56793 --- /dev/null +++ b/docs/changelog/3072.docs.rst @@ -0,0 +1 @@ +Fix broken links - by :user:`gaborbernat`. diff --git a/docs/development.rst b/docs/development.rst index 9d16acf6bc..b95d542de9 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -132,11 +132,10 @@ must have legal permission to distribute any code you contribute to tox and it m Provide tests that cover your changes and run the tests locally first. tox :ref:`supports ` multiple Python versions and operating systems. Any pull request must consider and work on all these platforms. -Pull requests should be small to facilitate review. Keep them self-contained, and limited in scope. `Studies have shown -`_ that review quality falls off as patch size -grows. Sometimes this will result in many small PRs to land a single large feature. In particular, pull requests must -not be treated as "feature branches", with ongoing development work happening within the PR. Instead, the feature should -be broken up into smaller, independent parts which can be reviewed and merged individually. +Pull requests should be small to facilitate review. Keep them self-contained, and limited in scope. Studies have shown +that review quality falls off as patch size grows. In particular, pull requests must not be treated as +"feature branches", with ongoing development work happening within the PR. Instead, the feature should be broken up into +smaller, independent parts which can be reviewed and merged individually. Additionally, avoid including "cosmetic" changes to code that is unrelated to your change, as these make reviewing the PR more difficult. Examples include re-flowing text in comments or documentation, or addition or removal of blank lines diff --git a/pyproject.toml b/pyproject.toml index fb807f5109..4f72295370 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,14 +52,14 @@ dependencies = [ "chardet>=5.1", "colorama>=0.4.6", "filelock>=3.12.2", - 'importlib-metadata>=6.7; python_version < "3.8"', + 'importlib-metadata>=6.8; python_version < "3.8"', "packaging>=23.1", - "platformdirs>=3.8.1", + "platformdirs>=3.9.1", "pluggy>=1.2", "pyproject-api>=1.5.3", 'tomli>=2.0.1; python_version < "3.11"', 'typing-extensions>=4.7.1; python_version < "3.8"', - "virtualenv>=20.23.1", + "virtualenv>=20.24.1", ] optional-dependencies.docs = [ "furo>=2023.5.20", @@ -76,8 +76,8 @@ optional-dependencies.testing = [ "covdefaults>=2.3", "detect-test-pollution>=1.1.1", "devpi-process>=0.3.1", - "diff-cover>=7.6", - "distlib>=0.3.6", + "diff-cover>=7.7", + "distlib>=0.3.7", "flaky>=3.7", "hatch-vcs>=0.3", "hatchling>=1.17.1", @@ -87,7 +87,7 @@ optional-dependencies.testing = [ "pytest-mock>=3.11.1", "pytest-xdist>=3.3.1", "re-assert>=1.1", - 'time-machine>=2.10; implementation_name != "pypy"', + 'time-machine>=2.11; implementation_name != "pypy"', "wheel>=0.40", ] urls.Documentation = "https://tox.wiki"