diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5482197e..eb0b353c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,6 +47,7 @@ repos: hooks: - id: docformatter args: [--in-place] + language: python - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 diff --git a/LICENSE b/LICENSE index 243b1cd2..e03deb04 100644 --- a/LICENSE +++ b/LICENSE @@ -5,7 +5,7 @@ the new BSD license). The license is an OSI approved Open Source license and is GPL-compatible(1). The license text can also be found here: -https://opensource.org/license/BSD-3-Clause +https://www.opensource.org/license/BSD-3-Clause License diff --git a/README.rst b/README.rst index 72a19aaa..7dd95433 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ please refer to the `official documentation`_. The pytest-celery plugin is Open Source and licensed under the `BSD License`_. -.. _`BSD License`: http://www.opensource.org/licenses/BSD-3-Clause +.. _`BSD License`: https://www.opensource.org/license/BSD-3-Clause Donations ========= diff --git a/docs/conf.py b/docs/conf.py index 5d736b10..8b2b399c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,6 +33,7 @@ r"https://github\.com/Jc2k/pytest-docker-tools\?tab=readme-ov-file#fixture-wrappers", r"https://github\.com/celery/celery/blob/main/requirements/test\.txt#L2", r"https://github\.com/celery/celery/blob/main/tox\.ini#L30", + r"https://www.opensource\.org/licenses/BSD-3-Clause", ], autodoc_mock_imports=[], ) diff --git a/docs/copyright.rst b/docs/copyright.rst index b03dd31f..da4595a5 100644 --- a/docs/copyright.rst +++ b/docs/copyright.rst @@ -26,4 +26,4 @@ compatible license to this one. While the *pytest-celery* documentation is offered under the Creative Commons *Attribution-ShareAlike 4.0 International* license, the pytest-celery *software* is offered under the - `BSD License (3 Clause) `_. + `BSD License (3 Clause) `_. diff --git a/docs/index.rst b/docs/index.rst index be2ee107..15b6020f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,7 +20,7 @@ please refer to the `official documentation`_. The pytest-celery plugin is Open Source and licensed under the `BSD License`_. -.. _`BSD License`: http://www.opensource.org/licenses/BSD-3-Clause +.. _`BSD License`: https://www.opensource.org/license/BSD-3-Clause Donations ========= diff --git a/poetry.lock b/poetry.lock index bbf41a6e..e48c00d3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3668,4 +3668,4 @@ sqs = ["boto3", "botocore", "pycurl", "urllib3"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "82c6be31f9a06923168352cdad111297ba9b8ee7221248ecae31e22c13af6617" +content-hash = "43b4984a865c30b2eba357ec51dce946377e899e37ff416cad72af0343ccf0a0" diff --git a/pyproject.toml b/pyproject.toml index 6e0a78b5..4cb8efbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,7 +116,7 @@ flake8 = [ pre-commit = [ { version = "^2.21.0", python = "<3.8.0" }, { version = "^3.1.0", python = ">=3.8.0,<4.0" }, - { version = ">=3.6.0", python = ">=3.9.0,<4.0" }, + { version = "^3.8.0", python = ">=3.9.0,<4.0" }, ] mypy = ">=1.11.2" types-redis = ">=4.6.0.20240218"