rohaquinlop / complexipy

An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.
https://rohaquinlop.github.io/complexipy/
MIT License
135 stars 7 forks source link

Expose library commands #46

Closed andrewdea closed 2 weeks ago

andrewdea commented 3 weeks ago

Currently, the package is most useful as a CLI, but we cannot import most of its functionalities into python code.

I have created this PR to expose the most useful commands:

rohaquinlop commented 2 weeks ago

@andrewdea would be great if we have this functions in the documentation, if you want you can add it, or I can do it if you want to.

andrewdea commented 2 weeks ago

@rohaquinlop great point! I'll go ahead and add docs today tracking this here

andrewdea commented 2 weeks ago

@rohaquinlop I think we can close this thanks to the merge.

Once we have the docs done, we'll be ready for a new release? Just checking if there's any additional steps