Run YAPF automatically on your Python code

Run YAPF formatter on every commit, automatically.

Pick a repository to start formatting your code

Ensure consistent code style across the repository CHANGED
@@ -1,3 +1,6 @@
- class BigFoot( Imaginary):
+ class BigFoot(Imaginary):
- name="big"+"foot"
+ name = "big" + "foot"
- greeting="Hello, {}".format(; print(greeting)
+ greeting = "Hello, {}".format(
+ print(greeting)
The best way to run your favorite code formatter Run one of them or all of them. DeepSource makes sure your code is always formatted, without any conflicts.

Never think about code formatting again

Never let a formatting issue break the CI build A poorly formatted code means bad news for passing those checks. Our transformers ensure that formatting issues never become a reason for failed checks again.
Save countless hours in manual reviews Manual code reviews means hours of hard work plus a possibility of mistakes. Our transformers take this load off of code reviewers.
Focus on more important tasks Our transformers automatically format your code, even before you realize your code had problems – so you can focus on what matters the most.
Free for personal accounts and small teams
After that, DeepSource grows with your team with per user pricing plans.
Unlimited public repositories
Unlimited lines of code analyzed
Unlimited private repositories for individual accounts
1 private repository for teams/organizations
Continuous analysis with GitHub, GitLab, and Bitbucket
3 team members
$0/month Get started for free No credit card required