Skip to content

logging.basicConfig() conflicts with use as a library #27

@benthorner

Description

@benthorner

Great codebase - really helpful to have all this knowledge in one place!

I've started using pms as a library in my own project. A small problem I encountered is this line, which means I have to use force=True when I call logging.basicConfig in order for it to pick up my preferred settings.

Would it be possible to move that line to the pms.cli module? I reckon that should preserve the existing behaviour for CLI users. Happy to make a PR for it but thought it would be best to ask first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions