Something went wrong while setting issue due date.
Design new Python API to replace Legacy API
Description
Now that Flake8 3.0 is released and our old API is considered "legacy" (and deprecated of sorts), let's work together to design a Python API that is powerful and elegant and extensible.
Use Cases
- Need a way to pass the lines of a file into Flake8 (see https://gitlab.com/pycqa/flake8/issues/208#note_14544578)
- Need a way to iterate over the errors collected by Flake8
- Need objects to be easily serializable