From 7b255dc34bfdeaa49b5172d45b7ef13ea3f2fef4 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 26 Dec 2024 20:00:15 +0300 Subject: [PATCH] Enable `black` check in CI --- .github/workflows/test.yml | 4 ++-- wemake_python_styleguide/options/config.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 94865dc4a..5fa846a8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,8 +40,8 @@ jobs: run: | # We ensure that WPS does not report # any issues after `black` is applied. - black . - flake8 . + poetry run black . + poetry run flake8 . - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: diff --git a/wemake_python_styleguide/options/config.py b/wemake_python_styleguide/options/config.py index b6c6a15ed..3ab93f94c 100644 --- a/wemake_python_styleguide/options/config.py +++ b/wemake_python_styleguide/options/config.py @@ -237,7 +237,7 @@ class Configuration: ), _Option( '--i-dont-control-code', - defaults.I_CONTROL_CODE, + not defaults.I_CONTROL_CODE, 'Whether you control ones who use your code.', action='store_false', type=None,