Sharing linter configurations between projects
Asked Answered
S

1

11

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.

Shrine answered 12/11, 2019 at 14:51 Comment(0)
F
1

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.

Fragrance answered 27/11, 2023 at 7:54 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.