sourcery for teams
Improve your team’s code quality during every step of the development journey - from writing the first line, to code review, to legacy maintenance.
46 REFACTORING IMPROVEMENTS found IN 80 files
Sourcery Bot - New pull request
Branch `V1.6` refactored by Sourcery
Open
RequestING a code review from @OCTOCAT
PULL REQUEST SUCCESSFULLY MERGED
Sourcery Bot Commented
Code quality report
complexity
1.6%
Method length
5%
Overall
3.2%
Trusted by 150,000+ developers
%timeit improvements
Shift left with quality management
Teams with low levels of tech debt are >50% more efficient than teams with high debt.
Capture and fix issues earlier in your development lifecycle so your team doesn’t get slowed down by technical debt.
Sourcery starts reviewing code in developers’ IDEs, checks all changed code in CI, and can review all your legacy code at once.
old issue != new issue
Your best practices as code
Don’t let the same issues come up again and again
Tell Sourcery your coding standards and it automatically checks and fixes these issues across your whole code base
Eliminate issues that keep coming up during code reviews
Teach new team members the way you code
Standardize your whole codebase and cut down on tech debt
rules:
- id: filter-lambda-to-list-comprehension
pattern: |
list(filter(lambda ${arg}: ${expr}, ${items}))
replacement: |
[${arg} for ${arg} in ${items} if ${expr}]
description: |
Use list comprehensions instead of filter and lambda
Set quality standards - without legacy issues
Sourcery in your CI keeps all your code to the same standards of consistency and quality
Make sure all of your new code is up to par and doesn’t contain violations
But, Sourcery in CI just checks changed code, so you won’t be flooded with issues from legacy code