![](https://secure.gravatar.com/avatar/d995b462a98fea412efa79d17ba3787a.jpg?s=120&d=mm&r=g)
On Thu, 9 Jan 2020 at 10:42, Michael <aixtools@felt.demon.nl> wrote:
Last year I was struggling to get some code to pass CI in pypa/packaging. There were other issues, but one that suprised me most was learning to ALWAYS use double quotes (") to get the code to pass the lint check (type checking). Anything using single quotes (') as string delimiters were not accepted as a STRING type.
pypa/packaging is a different project than CPython, with different standards and contribution guidelines. The insistence on double quoted strings sounds like the project uses black for formatting, and indeed the project documentation at https://packaging.pypa.io/en/latest/development/submitting-patches/#code confirms that. You shouldn't need to manually correct all of the code you write in that case - simply running black on any file you change should fix the style to match the project standards (again, please note this is *only* for the pypa/packaging project - you should check the contribution guidelines for any other project you contribute to, because their standards may be different). Paul