Code DB

Python 3 code quality

Code DB gives you insights into complexity and bug risks with high accuracy because your code is analyzed with its dependencies installed.
Let Code DB do the first steps on your code reviews by checking PRs and making fix suggestions.

Sign up

Features

Issues

Code DB uses different linters to find issues in your Python code. The main work is done by Pylint. Issues can be viewed in lists showing the newest, most common or most severe issues first. Linter issues (especially Pylint's) are sometimes hard to understand. In order to make it as easy as possible to understand what the problem is, Code DB shows you some lines of code around the location of the issue as well as additional information on the type of the issue (from our documentation).

Dependencies

You can configure dependencies to be installed from PyPI. If you have a requirements.txt file in your repository, this one will be picked up automatically. By doing the analysis with dependencies installed, Code DB generates accurate issues.

Ignore Issues

Instead of allowing complex configuration of the underlying linters, Code DB offers comprehensive options to ignore issues. Ignored issues can be selected by type, location (file, module, class, function etc). Additional attributes are extracted on many issue types that can also be used to create more specific ignore rules. E.g. you might want to ignore an "E1101: No member" for a certain type & attribute only.

Ignore rules track their creator and allow to specify a comment (e.g. to specify the reasoning behind the decision). Thus, you can easily keep track of all the ignored issues and who ignored them for what reason.

Pull request review

When you open a pull request on Github (and every time you push new commits to a branch with an open pull request), Code DB will analyze the head commit of the branch in question and create a diff of the issues and metrics of your code. It uses the Github's check runs feature that is also used by some CI tools. If there are new issues or a metric worsened by a significant amount, it will mark the check run as failed. You can review the generated diff and fix some of the newly found problems before handing the PR off to your colleagues for review.

The big advantage of this kind of automated review is that you usually pretty familiar with the code that you edited for the pull request. Thus, it should be easy for you to refactor & fix issues in that code.

Not ready yet

Sorry, Code DB is not yet ready for public sign up. Right now the service is tested with some early adopters. If you feel that you should be part of the closed testing phase please contact me: martin.vielsmaier@codedb.app.

Imprint

Information according to §5 TMG:
Martin Vielsmaier
Lärchenstr. 20
93466 Chamerau
VAT ID/USt-Id: DE313197662
Phone/Telefon: +49 173 99 55 830
E-Mail: martin@vielsmaier.net

Data protection & privacy policy