There's also one more thing that you can add to this amazing setup: linting!
VSCode can automatically find bugs, refactoring opportunities, and things to improve inside your code. I recommend to use flake8 + wemake-python-styleguide. Here's how to set things up: code.visualstudio.com/docs/python/...
And don't forget to check out wemake-python-styleguide on its own. It is the strictest Python linter out there:
A Full Stack Developer specializes in Python (Django, Flask), Go, & JavaScript (Angular, Node.js). Experience designing, planning, and building complete web applications with backend API systems.
I have already added pylint for code linting. Choosing formatter and linter is I believe a personal choice. This post is just about how to get started and not a discussion around python linters.
On a personal note, thanks for sharing this, I will definitely give it a try for one of my side projects :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There's also one more thing that you can add to this amazing setup: linting!
VSCode can automatically find bugs, refactoring opportunities, and things to improve inside your code. I recommend to use
flake8
+wemake-python-styleguide
. Here's how to set things up: code.visualstudio.com/docs/python/...And don't forget to check out
wemake-python-styleguide
on its own. It is the strictest Python linter out there:wemake-services / wemake-python-styleguide
The strictest and most opinionated python linter ever!
wemake-python-styleguide
Welcome to the strictest and most opinionated Python linter ever.
wemake-python-styleguide
is actually a flake8 plugin with some other plugins as dependencies.Quickstart
You will also need to create a
setup.cfg
file with the configuration.Try it online!
We highly recommend to also use:
Running
This app is still just good old
flake8
And it won't change your existing workflow.See "Usage" section in the docs for examples and integrations.
We also support GitHub Actions as first class-citizens Try it out!
Strict is the new cool
Strict linting offers the following benefits to developers and companies:
I have already added
pylint
for code linting. Choosingformatter
andlinter
is I believe a personal choice. This post is just about how to get started and not a discussion around python linters.On a personal note, thanks for sharing this, I will definitely give it a try for one of my side projects :)