question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide Flake8 4 support

See original GitHub issue

What’s wrong

wemake-python-styleguide 0.15.3 requires flake8<4.0,>=3.7, but you have flake8 4.0.1 which is incompatible.

How it should be

Support flake8 4 and higher

Flake8 version and plugins

{
  "dependencies": [],
  "platform": {
    "python_implementation": "CPython",
    "python_version": "3.9.7",
    "system": "Linux"
  },
  "plugins": [
    {
      "is_local": false,
      "plugin": "flake8-bandit",
      "version": "2.1.2"
    },
    {
      "is_local": false,
      "plugin": "flake8-broken-line",
      "version": "0.3.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-bugbear",
      "version": "21.9.2"
    },
    {
      "is_local": false,
      "plugin": "flake8-comprehensions",
      "version": "3.7.0"
    },
    {
      "is_local": false,
      "plugin": "flake8-darglint",
      "version": "1.8.1"
    },
    {
      "is_local": false,
      "plugin": "flake8-debugger",
      "version": "4.0.0"
    },
    {                                                                                                                                          [16/25121]
      "is_local": false,
      "plugin": "flake8-docstrings",
      "version": "1.6.0, pydocstyle: 6.1.1"
    },
    {
      "is_local": false,
      "plugin": "flake8-eradicate",
      "version": "1.2.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.1.1"
    },
    {
      "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.11.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.3"
    },
    {
      "is_local": false,
      "plugin": "wemake_python_styleguide",
      "version": "0.15.3"
    }
  ],
  "version": "4.0.1"
}

pip information

pip 21.3.1

pip freeze is a bit too much, how about you go for more specific packages you care about?

OS information

Ubuntu 20 LTS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
sobolevncommented, Dec 13, 2021

Sorry, I forgot about it! Thanks a lot for the reminder!

0.16.0 is released! https://github.com/wemake-services/wemake-python-styleguide/releases/tag/0.16.0

I would love to hear about new bugs that might happen and fix them in 0.16.x as soon as possible.

1reaction
webknjazcommented, Dec 13, 2021

I will release it before the Dec.

Dec started 13 days ago FYI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your Tool For Style Guide Enforcement — flake8 4.0.0 ...
This provides examples and documentation around Flake8's assortment of options and how to specify them on the command-line or in configuration files. Using ......
Read more >
flake8 4.0.1 documentation
flake8 is a command-line utility for enforcing style consistency across Python projects. By default it includes lint checks provided by the PyFlakes project ......
Read more >
Full Listing of Options and Their Descriptions - Flake8
Provide a comma-separate list of glob patterns to include for checks. ... This option supports syntax similar to --exclude such that glob patterns...
Read more >
2021-10-10 — flake8 4.0.0 documentation
Due to constant confusion by users, user-level Flake8 configuration files are no longer supported. Files will not be searched for in the ...
Read more >
Configuring Flake8 — flake8 6.0.0 documentation
Flake8 supports storing its configuration in your project in one of setup.cfg , tox.ini , or .flake8 . Values set at the command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found