Skip to content

Regex got flagged as poorly written by automatic quality system. Also the pypi package "stringcase" raises a warning for a bad regex inside python. #199

@DnlRKorn

Description

@DnlRKorn
Image

It looks like moving all of the code from ROOT/bmt to ROOT/src/bmt triggered this quality gate feature. It caught a moderately bad regex from 5 years ago.

We also get this error for the pypi

stringcase.py:247: SyntaxWarning: invalid escape sequence '\W' --- return re.sub("\W+", "", string) ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions