wemake-python-styleguide
                                
                                 wemake-python-styleguide copied to clipboard
                                
                                    wemake-python-styleguide copied to clipboard
                            
                            
                            
                        WPS318 wrong behaviour for func arguments
What's wrong
PEP8 says that "4 spaces (an extra level of indentation) must be added to distinguish arguments from the rest". But linter accepts only 4 spaces, not 8.
How it should be
Do not consider 8 spaces in function signature as violation/
Flake8 version and plugins
  "dependencies": [],
  "platform": {
    "python_implementation": "CPython",
    "python_version": "3.7.3",
    "system": "Linux"
  },
  "plugins": [
    {
      "is_local": false,
      "plugin": "flake8-bandit",
      "version": "3.0.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-broken-line",
      "version": "0.4.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-bugbear",
      "version": "22.7.1"
    },
    {
      "is_local": false,
      "plugin": "flake8-comprehensions",
      "version": "3.10.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-darglint",
      "version": "1.8.1"
    },
    {
      "is_local": false,
      "plugin": "flake8-debugger",
      "version": "4.1.2"
    },
    {
      "is_local": false,
      "plugin": "flake8-docstrings",
      "version": "1.6.0, pydocstyle: 6.1.1"
    },
    {
      "is_local": false,
      "plugin": "flake8-eradicate",
      "version": "1.3.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-string-format",
      "version": "0.3.0"
    },
    {
      "is_local": false,
      "plugin": "flake8_commas",
      "version": "2.1.0"
    },
    {
      "is_local": false,
      "plugin": "flake8_isort",
      "version": "4.2.0"
    },
    {
      "is_local": false,
      "plugin": "flake8_quotes",
      "version": "3.3.1"
    },
    {
      "is_local": false,
      "plugin": "mccabe",
      "version": "0.6.1"
    },
    {
      "is_local": false,
      "plugin": "naming",
      "version": "0.12.1"
    },
    {
      "is_local": false,
      "plugin": "pycodestyle",
      "version": "2.8.0"
    },
    {
      "is_local": false,
      "plugin": "pyflakes",
      "version": "2.4.0"
    },
    {
      "is_local": false,
      "plugin": "rst-docstrings",
      "version": "0.2.7"
    },
    {
      "is_local": false,
      "plugin": "wemake_python_styleguide",
      "version": "0.16.1"
    }
  ],
  "version": "4.0.1"
}```
### pip information
pip 22.0.4 (python 3.7) alembic==1.8.1 anyio==3.6.1 astor==0.8.1 asyncpg==0.26.0 attrs==22.1.0 bandit==1.7.4 click==8.1.3 darglint==1.8.1 databases==0.6.1 docutils==0.19 eradicate==2.1.0 fastapi==0.79.1 flake8==4.0.1 flake8-bandit==3.0.0 flake8-broken-line==0.4.0 flake8-bugbear==22.7.1 flake8-commas==2.1.0 flake8-comprehensions==3.10.0 flake8-debugger==4.1.2 flake8-docstrings==1.6.0 flake8-eradicate==1.3.0 flake8-isort==4.2.0 flake8-polyfill==1.0.2 flake8-quotes==3.3.1 flake8-rst-docstrings==0.2.7 flake8-string-format==0.3.0 gitdb==4.0.9 GitPython==3.1.27 greenlet==1.1.2 h11==0.13.0 httptools==0.4.0 idna==3.3 importlib-metadata==4.2.0 importlib-resources==5.9.0 isort==5.10.1 Mako==1.2.1 MarkupSafe==2.1.1 mccabe==0.6.1 pbr==5.10.0 pep8-naming==0.12.1 psycopg2-binary==2.9.3 pycodestyle==2.8.0 pydantic==1.9.2 pydocstyle==6.1.1 pyflakes==2.4.0 Pygments==2.13.0 python-dotenv==0.20.0 PyYAML==6.0 restructuredtext-lint==1.4.0 smmap==5.0.0 sniffio==1.2.0 snowballstemmer==2.2.0 SQLAlchemy==1.4.40 starlette==0.19.1 stevedore==3.5.0 typing_extensions==4.3.0 uvicorn==0.18.2 uvloop==0.16.0 watchfiles==0.16.1 websockets==10.3 wemake-python-styleguide==0.16.1 zipp==3.8.1
### OS information
Debian11