You can use noqa like:

$ git grep _eval_is_ge
sympy/calculus/util.py:def _eval_is_ge(lhs, rhs): # noqa:F811
sympy/calculus/util.py:def _eval_is_ge(lhs, rhs): # noqa: F811
sympy/calculus/util.py:def _eval_is_ge(lhs, rhs): # noqa:F811
sympy/calculus/util.py:def _eval_is_ge(lhs, rhs): # noqa:F811
...

There doesn't seem to be a good way of telling flake8 to ignore these
in general though.

Oscar

On Sat, 8 May 2021 at 13:10, Chris Smith <[email protected]> wrote:
>
> In https://github.com/sympy/sympy/pull/21431 I attempted to add 4 
> `_eval_is_ge` handlers but they get flagged as duplicate of existing ones by 
> flake. How do I get flake to ignore these?
>
> /c
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/881032c7-412e-40cd-aab0-c9e70ae99b2fn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxS7gfSZ3h8NE2Q7pr82xX4cXMH%2Bb4sP7FL7RFTSNK9Dxg%40mail.gmail.com.

Reply via email to