Skip to content

It wants to rename Exception to exception and ends up in an infinite loop if I tell it no. #7

@HWiese1980

Description

@HWiese1980

There are sections in a code base I'm currently cleaning up which simply do

raise Exception("foobar")

or

try:
    ...
except Exception:
    ...

camel-snake-pep8 wants to rename Exception here to exception which is syntactically wrong.

Types should be excluded from being renamed, as PEP8 recommends them to be camel case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions