We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the code we use a lot of type(x) == y conditionals, e.g.
type(x) == y
HiggsAnalysis-CombinedLimit/python/DatacardParser.py
Lines 450 to 451 in cc6baaf
./python/DatacardParser.py:450:38: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
A few quick changes, e.g. to isinstance(x, y) would suppress these. For now I've silenced the warning in #856
isinstance(x, y)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the code we use a lot of
type(x) == y
conditionals, e.g.HiggsAnalysis-CombinedLimit/python/DatacardParser.py
Lines 450 to 451 in cc6baaf
which recently started being checked by flake8, e.g.
A few quick changes, e.g. to
isinstance(x, y)
would suppress these. For now I've silenced the warning in #856The text was updated successfully, but these errors were encountered: