PyCQA / flake8

flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

Home Page:https://flake8.pycqa.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow TODO issue with pound sign anywhere in text

shaunc opened this issue · comments

describe the request

Visual studio code prompts to autocreate issues in current repo for todos. It inserts the issue # immediately after colon:
Before

# TODO(charlie): fix this

After

# TODO(charlie): #234 fix this

This format seems clear and works with tooltip support in visual studio code.

this has nothing to do with flake8

Ah - sorry. I saw that flake8-todos didn't have issue tracker and assumed issues must be consolidated here.

if you read the issue template or any of the prompts why would that make sense?

Hmm... you mean: "NOTE: flake8 is a linting framework and does not implement any checks"?

I guess I was not familiar with the architecture, so that note was opaque to me (what is a "check"?). ("All of the individual rules are checked by plugins." or something like that?)

this seems pretty clear to me, did you not read this part?

if you are reporting a problem with a particular check, please track down the plugin which implements that check

That is clear - but it doesn't show up in the template?

image

Or in the linked "requesting a new feature" in the contribution guide:

image