David Seddon

Results 219 comments of David Seddon

Ah right, thanks! Well, there are obviously a few places where it would be good to surface encoding problems in a friendlier way.

@dandiggas has kindly offered to look at this one.

Hi Ronny, thanks for the issue. It's because wildcards aren't supported for those fields, they're only supported (at present) for `ignored_imports`. It's got nothing to do with TOML, so I've...

Thanks for the issue! I don't this this would work. Import Linter contracts aren't really about individual files (usually), they are more about the relationships between files. Example: a contract...

> It would be for reviewing only files files changed in the PR, ie so the rules can be introduced so and no code violates the contracts in new PRs....

I don't think it needs a contribution to Import Linter, you should just be able to use the project as-is. Let me know if you're unsure how!

Thanks for the issue! I'd like to clarify what you are trying to achieve here. - If you need to, it's already possible to invoke Import Linter using a Python...

Got it. I think that `importlinter.application.create_report` should do what you need, as you can pass in the options directly as types, and it returns a `Report` object.