Transformers

Run isort automatically on your Python code

Run isort formatter on every commit, automatically.

Pick a repository to start formatting your code

Ensure consistent code style across the repository

isort.py CHANGED
@@ -1,17 +1,8 @@
1
- from my_lib import object
1
+ from __future__ import absolute_import
2
-
3
- from my_lib import object3
2
+ from my_lib import object, object2, object3
4
-
5
- from my_lib import object2
6
-
7
- from third_party import lib15, lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8, lib9, lib10, lib11, lib12, lib13, lib14
3
+ from third_party import (lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8, lib9,
8
-
9
- import sys
10
-
11
- from __future__ import absolute_import
12
-
13
- from third_party import lib3
4
+ lib10, lib11, lib12, lib13, lib14, lib15)
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