On Thu, 9 Jan 2020 at 10:42, Michael <aixto...@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
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/7C6YD4X3YEEMOAOVPAFF7R2UUZ2G6GOV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to