Add different configuration for different sub directories
Originally reported by: **Fergal Hainey (BitBucket: [FerHai](http://bitbucket.org/FerHai))** --- I'm using pytest and redefined-outer-name is a false negative in these cases as it's part of pytest's design. I'd like to run pylint over the whole project to flag things automatically before code reviews. I'd like to catch cases of redefined-outer-name outside the tests folder. I could add comments to the modules but 1. that's a lot of comments and 2. changes will require changing as many comments. What could be nice is looking up through basedirs of the file being linted for pylintrc files and taking config in closer pylintrcs as higher priority. Or maybe something in the project wide pylintrc to denote some config applies to a directory. Would this be considered a good idea? I'm open to making a patch if it's considered worthwhile. --- - Bitbucket: https://bitbucket.org/logilab/pylint/issue/618
Posted by pylint-bot on Aug 10, 2015, 10:31 AM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Add different configuration for different sub directories
Originally reported by: **Fergal Hainey (BitBucket: [FerHai](http://bitbucket.org/FerHai))** --- I'm using pytest and redefined-outer-name is a false negative in these cases as it's part of pytest's design. I'd like to run pylint over the whole project to flag things automatically before code reviews. I'd like to catch cases of redefined-outer-name outside the tests folder. I could add comments to the modules but 1. that's a lot of comments and 2. changes will require changing as many comments. What could be nice is looking up through basedirs of the file being linted for pylintrc files and taking config in closer pylintrcs as higher priority. Or maybe something in the project wide pylintrc to denote some config applies to a directory. Would this be considered a good idea? I'm open to making a patch if it's considered worthwhile. --- - Bitbucket: https://bitbucket.org/logilab/pylint/issue/618
Comments (0)
No comments yet. Start the discussion.