Skip to content

Commit b353fac

Browse files
authored
Version 1.6.2 release (#3636)
1 parent 76860b9 commit b353fac

6 files changed

Lines changed: 585 additions & 544 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Semantic versioning in our case means:
1616
But, in the future we might change the configuration names/logic,
1717
change the client facing API, change code conventions significantly, etc.
1818

19-
## WIP
19+
## 1.6.2
2020

2121
### Bugfixes
2222

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FROM python:3.13.7-alpine
2020
LABEL maintainer="mail@sobolevn.me"
2121
LABEL vendor="wemake.services"
2222

23-
ENV WPS_VERSION='1.6.1'
23+
ENV WPS_VERSION='1.6.2'
2424
ENV REVIEWDOG_VERSION='v0.21.0'
2525

2626
RUN apk add --no-cache bash git wget

poetry.lock

Lines changed: 578 additions & 538 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = [ "poetry-core>=2.2" ]
44

55
[tool.poetry]
66
name = "wemake-python-styleguide"
7-
version = "1.6.1"
7+
version = "1.6.2"
88
description = "The strictest and most opinionated python linter ever"
99
license = "MIT"
1010
requires-poetry = ">=2.3"

wemake_python_styleguide/logic/tree/keywords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def returning_nodes(
1616
for sub_node in ast.walk(node):
1717
context_node = get_context(sub_node)
1818
if isinstance(sub_node, returning_type) and context_node == node:
19-
if sub_node.value: # type: ignore
19+
if sub_node.value:
2020
has_values = True
21-
returns.append(sub_node) # type: ignore
21+
returns.append(sub_node)
2222
return returns, has_values

wemake_python_styleguide/violations/complexity.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,9 @@ class TooManyConditionsViolation(ASTViolation):
693693
.. versionchanged:: 0.5.0
694694
.. versionchanged:: 1.4.0
695695
Added ``--max-conditions`` configuration options.
696-
.. versionchanged:: 1.7.0
696+
.. versionchanged:: 1.6.2
697697
Stopped recursive counting of nested ``ast.BoolOp`` nodes.
698+
698699
"""
699700

700701
error_template = 'Found a condition with too much logic: {0}'

0 commit comments

Comments
 (0)