Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing linter configurations between projects

I want to share configuration of linter (flake8, pylint, whatever) between multiple python projects.

I researched this topic a bit and didn't find any suitable solution except for https://pypi.org/project/nitpick/ which doesn't work - my custom config is ignored.

Basically I want something similar to https://eslint.org/docs/developer-guide/shareable-configs - a "single source of truth" for liner configuration.

like image 253
mcjlnrtwcz Avatar asked Apr 11 '26 17:04

mcjlnrtwcz


1 Answers

A potential solution for you can be to combine the template tool cookiecutter with cruft, a tool to manage linter configuration this boilerplate over the life of a repository.

like image 90
flyingdutchman Avatar answered Apr 13 '26 06:04

flyingdutchman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!