Example showing string parsing instead of file parsing?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 754
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to implement pycodestyle in an add-on for the Blender Text Editor, but having pycodestyle to read re-saved file, while editing is too slow, so my question is if it is possible to parse a string directly instead of opening a saved file? And if yes, then my next question is if there are any examples showing how to do that?
I'm sorry I couldn't find a forum dealing with pycodestyle, to ask this question.
Example of slow processing over harddisk:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pycodestyle's single Python file and inspect how its existing file-based entry points receive input. Determine whether an in-memory string is supported, then document a minimal usage example for the Blender Text Editor use case; done means the example is clear without requiring a saved file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100