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,