Remove wemake-python-styleguide #5

Merged
alexander merged 25 commits from remove-wps into develop 2026-11-28 04:16:02 +01:00
5 changed files with 31 additions and 2 deletions
Showing only changes of commit 7b32ffc599 - Show all commits

Add flake8-docstrings

Alexander Hess 2026-11-28 03:04:38 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -189,6 +189,7 @@ def lint_code(session: Session) -> None:
'flake8-commas',
'flake8-comprehensions',
'flake8-debugger',
'flake8-docstrings',
'flake8-pyproject',
'flake8-pytest-style',
'isort',

View file

@ -98,6 +98,7 @@ dev = [
"flake8-commas (>=4.0.0,<5.0.0)",
"flake8-comprehensions (>=3.17.0,<4.0.0)",
"flake8-debugger (>=4.1.2,<5.0.0)",
"flake8-docstrings (>=1.7.0,<2.0.0)",
"flake8-pyproject (>=1.2.4,<2.0.0)",
"flake8-pytest-style (>=2.2.0,<3.0.0)",
"mypy (>=2.4.1,<3.0.0)",

View file

@ -64,7 +64,7 @@ def tactical_heuristic( # noqa:C901
TIME_STEP: length of one time step in minutes; defaults to `60`
TRAIN_HORIZON: length of the training horizon; defaults to `8`
""" # noqa:D412,D417
""" # noqa:D412,D417 => formatted as `click` help text
# Input validation.
try:

View file

@ -1094,7 +1094,7 @@ def test_make_random_orders( # noqa:C901
Ensure that all generated `Address`, `Courier`, `Customer`, `Restaurant`,
and `Order` objects adhere to the database constraints.
""" # noqa:D202
"""
# Generate a large number of `Order`s to obtain a large variance of data.
for _ in range(1_000):

27
uv.lock generated
View file

@ -975,6 +975,19 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/5d/6b/8e5d248949798644b3d8e5f598ed5d1da82d8f157d4bafd78f45247f1690/flake8_debugger-4.1.2-py3-none-any.whl", hash = "sha256:0a5e55aeddcc81da631ad9c8c366e7318998f83ff00985a49e6b3ecf61e571bf", size = 7909, upload-time = "2022-04-30T16:50:57.294Z" },
]
[[package]]
name = "flake8-docstrings"
version = "1.7.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "flake8" },
{ name = "pydocstyle" },
]
sdist = { url = "https://files.pythonhosted.org/packages/93/24/f839e3a06e18f4643ccb81370909a497297909f15106e6af2fecdef46894/flake8_docstrings-1.7.0.tar.gz", hash = "sha256:4c8cc748dc16e6869728699e5d0d685da9a10b0ea718e090b1ba088e67a941af", size = 5995, upload-time = "2023-01-25T14:27:13.903Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/3f/7d/76a278fa43250441ed9300c344f889c7fb1817080c8fb8996b840bf421c2/flake8_docstrings-1.7.0-py2.py3-none-any.whl", hash = "sha256:51f2344026da083fc084166a9353f5082b01f72901df422f74b4d953ae88ac75", size = 4994, upload-time = "2023-01-25T14:27:12.32Z" },
]
[[package]]
name = "flake8-plugin-utils"
version = "1.3.3"
@ -2576,6 +2589,18 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/b6/ae/315bbeee126a769cbde43cf4908acb4b40408d8bf8bbf334dd7368d8dadf/pycparser-3.12-py3-none-any.whl", hash = "sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e", size = 62600, upload-time = "2026-10-22T13:40:02.021Z" },
]
[[package]]
name = "pydocstyle"
version = "6.3.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "snowballstemmer" },
]
sdist = { url = "https://files.pythonhosted.org/packages/e9/5c/d5385ca59fd065e3c6a5fe19f9bc9d5ea7f2509fa8c9c22fb6b2031dd953/pydocstyle-6.3.0.tar.gz", hash = "sha256:7ce43f0c0ac87b07494eb9c0b462c0b73e6ff276807f204d6b53edc72b7e44e1", size = 36796, upload-time = "2023-01-17T20:29:19.838Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/36/ea/99ddefac41971acad68f14114f38261c1f27dac0b3ec529824ebc739bdaa/pydocstyle-6.3.0-py3-none-any.whl", hash = "sha256:118762d452a49d6b05e194ef344a55822987a462831ade91ec5c06fd2169d019", size = 38038, upload-time = "2023-01-17T20:29:18.094Z" },
]
[[package]]
name = "pyflakes"
version = "4.1.0"
@ -3632,6 +3657,7 @@ dev = [
{ name = "flake8-commas" },
{ name = "flake8-comprehensions" },
{ name = "flake8-debugger" },
{ name = "flake8-docstrings" },
{ name = "flake8-pyproject" },
{ name = "flake8-pytest-style" },
{ name = "isort" },
@ -3689,6 +3715,7 @@ dev = [
{ name = "flake8-commas", specifier = ">=4.0.0,<5.0.0" },
{ name = "flake8-comprehensions", specifier = ">=3.17.0,<4.0.0" },
{ name = "flake8-debugger", specifier = ">=4.1.2,<5.0.0" },
{ name = "flake8-docstrings", specifier = ">=1.7.0,<2.0.0" },
{ name = "flake8-pyproject", specifier = ">=1.2.4,<2.0.0" },
{ name = "flake8-pytest-style", specifier = ">=2.2.0,<3.0.0" },
{ name = "isort", specifier = ">=9.0.2,<10.0.0" },