From b8260e79fcbc2feeae2dd4aae2b59ed86aafbf9d Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sat, 27 Feb 2021 15:20:24 +0300 Subject: [PATCH] Version 0.15.2 release --- CHANGELOG.md | 6 +++++- Dockerfile | 4 ++-- pyproject.toml | 2 +- setup.cfg | 2 -- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d7d79e9c..aba8b3a71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,10 +24,14 @@ Semantic versioning in our case means: - Fixes `BitwiseAndBooleanMixupViolation` work with PEP 604 union types #1884 - Fixes `CognitiveModuleComplexityViolation` to not trigger for a single-item modules -- Fixes that `ConstantConditionViolation` was not reported for a BoolOp +- Fixes that `ConstantConditionViolation` was not reported for a `BoolOp` - Functions and methods marked as `@overload` or `@typing.overload` do not count in complexity rules +### Misc + +- Updates GitHub Action's base Python image version to `3.8.8` + ## 0.15.1 diff --git a/Dockerfile b/Dockerfile index 702021c76..888805a48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,12 +15,12 @@ # This image is also available on Dockerhub: # https://hub.docker.com/r/wemakeservices/wemake-python-styleguide -FROM python:3.8.6-alpine +FROM python:3.8.8-alpine LABEL maintainer="sobolevn@wemake.services" LABEL vendor="wemake.services" -ENV WPS_VERSION='0.15.1' +ENV WPS_VERSION='0.15.2' ENV REVIEWDOG_VERSION='v0.11.0' RUN apk add --no-cache bash git wget diff --git a/pyproject.toml b/pyproject.toml index e6b6ab63d..1c89537c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ style = "styles/nitpick-style-wemake.toml" [tool.poetry] name = "wemake-python-styleguide" -version = "0.15.1" +version = "0.15.2" description = "The strictest and most opinionated python linter ever" license = "MIT" diff --git a/setup.cfg b/setup.cfg index c74e430f5..c1530f825 100644 --- a/setup.cfg +++ b/setup.cfg @@ -54,8 +54,6 @@ per-file-ignores = wemake_python_styleguide/options/defaults.py: WPS432 # Checker has a lot of imports: wemake_python_styleguide/checker.py: WPS201 - # TODO: remove after 0.15.2 release: - wemake_python_styleguide/logic/tree/annotations.py: WPS232 # Allows mypy type hinting, `Ellipsis`` usage, multiple methods: wemake_python_styleguide/types.py: D102, WPS214, WPS220, WPS428 # There are multiple fixtures, `assert`s, and subprocesses in tests: