Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up WPS (wemake-python-styleguide) autocheck in PyCharm #2904

Open
Day0Dreamer opened this issue Mar 30, 2024 · 2 comments
Open

How to set up WPS (wemake-python-styleguide) autocheck in PyCharm #2904

Day0Dreamer opened this issue Mar 30, 2024 · 2 comments
Labels
documentation Docs related task

Comments

@Day0Dreamer
Copy link

Day0Dreamer commented Mar 30, 2024

Good day. I've discovered a way of integrating WPS to PyCharm.
Project mainainers might find this useful and would like to put it on display here and on the webpage.

Windows:

  1. Install pipx for convenience
  2. pipx install --include-deps wemake-python-styleguide
  3. Try running "C:\Users\username\.local\pipx\venvs\wemake-python-styleguide\Scripts\flake8.exe"
    Flollow this: Flake8 + PyCharm: tutorial
  4. Add installed flake8 as a file watcher via path from 3)
  5. Pipe file watcher results to Inspector system in PyCharm.

I don't know how to do a proper pull request on such a matter, and all out of time already. Nevertheless this seems to be extremely valuable for newcomers, who don't enjoy console launches that much.

For me personally, this is a game changer, as I now have RUFF+PyRight+WPS, all in PyCharm and can kiss my console goodbye!
P.S. I'd love to have WPS in RUFF, it's not there yet, so there are three tools on autorun at every .py save.

@sobolevn
Copy link
Member

Please, feel free to send a PR with the docs.

@sobolevn sobolevn added the documentation Docs related task label Mar 30, 2024
@Rohit-Singh-01
Copy link

hi , so what exactly to write in the readme file ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Docs related task
Projects
None yet
Development

No branches or pull requests

3 participants