wemake-services / flake8-broken-line

🚨 Flake8 plugin to forbid backslashes (\) for line breaks

Home Page:https://pypi.org/project/flake8-broken-line/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compat with flake8 >= 6

AdrianusWest opened this issue · comments

"SolverProblemError

Because flake8-broken-line (0.6.0) depends on flake8 (>=3.5,<6) and no versions of flake8-broken-line match >0.6.0,<0.7.0, flake8-broken-line (>=0.6.0,<0.7.0) requires flake8 (>=3.5,<6). So, because project depends on both flake8 (^6.0.0) and flake8-broken-line (^0.6.0), version solving failed."

Any workaround suggestions until this issue is resolved? Tried removing flake8-broken-line from .pre-commit-config.yaml which only led to more complications.

Sorry, there's nothing I can do. Because flake8@6 dropped 3.7 support

If flake8 dropped support for 3.7, why not do the same? those who still care can an use old level.

What's the problem with switching to a new version of python anyway?

I have no problem with folks wanting to continue on older versions of code for variety of reasons, for example organizational intertia . But folks who want to move forward should not be blocked.

I think that the people who want to stay on old version of python, they are good to use old version of flake8.
We should just deprecate the usage of old python version and bump the major version, what happened recently with flake8.

For those considering migrating to Ruff, here is the issue request asking for flake8-broken-line to be implemented there:

This should be fixed by #307