Skip to content

replacing ruff with black and flak8, and modification of docs

Mostafa Hadizadeh requested to merge cat4kit/python-package-template:main into main

Dear @philipp.sommer

Due to the utilization of the existing Python template for the DS2STAC package within Cat4KIT, I chose to incorporate and modify certain functionalities within the template. I think it is necessary to replicate the same actions in both the Django application and the Sphinx template which I will do it in the foreseeable future.

As an illustration, rather than employing the tools "black" and "flake8," I opted for "ruff", which exhibits superior performance compared to "black." Additionally, "ruff" can be classified as a novel formatting application.RUFF-Black-Comparison

In addition to the aforementioned documentation, I have included pydata as an alternate option.

I have included more applications, such as "typo", in the pre-commit stage, as they appear to possess use.

Merge request reports

Loading