Open m4hi2 opened 7 months ago
I had the same problem and managed to solve this. Thanks, @m4hi2!
My computer specs are Macbook Pro 13-inch, M1 2020, 8GB RAM, running Sonoma 14.2.1 and Python 3.12.1. I had issues pushing to my Github repository.
Here's what I did:
flake8 = "~7.0.0"
and wemake-python-styleguide = "^0.19.2"
poetry update
poetry run pre-commit autoupdate
Hope that this solves any future problems that others might face.
This issue should be resolved in a new version, since the template is no longer use flake. It has been replaced with ruff.
Hello,
Flake8
,add-trailing-comma
,pre-commit-hooks
, andlanguage-formatters-pre-commit-hooks
versions need to be updated. Otherwise fails with following errors on a newly generated project:Workaround, update Flake8 on
pyproject.toml
file, runpoetry update
and to update pre-commit hooks run: