flake8-quotes icon indicating copy to clipboard operation
flake8-quotes copied to clipboard

Flake8 extension for checking quotes in python

Results 9 flake8-quotes issues
Sort by recently updated
recently updated
newest added

- use of `setup.py` as a command line tool is deprecated - project does not require `setuptools` - publish a wheel

Since 3.4.0 came out I am getting Q003 errors on code such as: ``` string = f'My id is {some_dictionary['id']}' ``` As per f-string changes in python 3.12 it is...

Testbed to investigate https://github.com/zheller/flake8-quotes/issues/119

While not official, many documentation generators, e.g. Sphinx, pdoc, epydoc, PyCharm, etc., recognize docstrings after variables. flake8-quotes however classifies these as multi-line strings, so when using single quotes for multi-line...

enhancement
help wanted

Possibly related #69 , #77 1. `'str\'i\'ng'` Q003 1. `"str\'i\'ng"` No errors The first line gives `Q003` while the second line emits no errors. I took the ultimate aim of...

enhancement
help wanted

Heads up to @zheller that I no longer have time to help maintain this repo

If I put `"Docstring"` in a file, `flake8-quotes` complains (as it should), but with the error `Q002 Single quote docstring found but double quotes preferred`. This is incorrect, as they...

Thanks for awesome package! But it's not obvious which quotes are default for docstring, experimentally it's double, so I update your readme.

I'm really keen to use this on [pydantic](https://github.com/samuelcolvin/pydantic), however there's one ~~blocking~~ issue Take the following example: ```py raise ConfigError( "validators should be used with fields and keyword arguments, not...

enhancement
help wanted