Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Add possibility to configure this plugin through a config file #9

Closed
LvffY opened this issue Nov 9, 2022 · 1 comment
Closed

Add possibility to configure this plugin through a config file #9

LvffY opened this issue Nov 9, 2022 · 1 comment

Comments

@LvffY
Copy link

LvffY commented Nov 9, 2022

Hi

This plugin seems to be able to solve an very old pylint issue, so first : thanks for that :)

But because we can have a very large number of promoted/demoted issues, it would be very useful to be able to configure this plugin through a configuration file.

Multiple ideas here :

  • Use for pylint configure files (like pylintrc)
  • Use an external file (e.g. a YAML file) that would contain our configurations (and mostly our long list of promoted/demoted rules)

I don't think there is a preference for any of the two options here :)

@teake
Copy link
Contributor

teake commented Nov 14, 2022

Hi, configuration via pylintc or pyproject.toml is already possible. I've added a section to READM.md that describes how in 3582b6c.

Since you're talking a large number of issues that need to be configured, perhaps it's wiser to use pyproject.toml, since in TOML you can split out arrays over multiple lines.

I'm assuming this covers your needs, so I'm closing this issue. If not, feel free to reopen.

@teake teake closed this as completed Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants