Skip to content

E701 check in 0.0.245 disagrees with black for .pyi files #2835

@alex

Description

@alex

In .pyi files, everything is stubbed out like:

def foo() -> int: ...

class MyClass: ...

This is how black formats them, but ruff is upset with them.

Example here: https://github.com/pyca/cryptography/actions/runs/4158646856/jobs/7194009425

Thanks

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions