Python icon indicating copy to clipboard operation
Python copied to clipboard

Ruff fails my pull request despite the issue not being my code

Open imengus opened this issue 3 years ago • 3 comments

What would you like to share?

https://github.com/TheAlgorithms/Python/actions/runs/4960833192/jobs/8876852733?pr=8722

"maths/euclidean_distance.py:9:13: UP007 Use X | Y for type annotations"

Additional information

No response

imengus avatar May 12 '23 16:05 imengus

@dhruvmanila Can you please suggest fixes?

cclauss avatar May 14 '23 16:05 cclauss

I've got the same problem and when I solve it, the others test get errors

ValentinKlinger avatar May 14 '23 17:05 ValentinKlinger

I don't see any problem here. ruff is suggesting some autofixes which should be applied.

I've got the same problem and when I solve it, the others test get errors

What errors? Please provide details in the issue.

dhruvmanila avatar May 14 '23 17:05 dhruvmanila