Re: Argument name should be lowercase

2022-11-12 Thread Weatherby,Gerard
-list on behalf of Stefan Ram Date: Friday, November 11, 2022 at 2:42 PM To: python-list@python.org Subject: Re: Argument name should be lowercase *** Attention: This is an external email. Use caution responding, opening attachments or clicking on links. *** "Weatherby,Gerard" wr

Re: Argument name should be lowercase

2022-11-11 Thread dn
Thanks for the thoughts! On 11/11/2022 21.54, dn wrote: PyCharm is warning against using an identifier of all upper-case letters as a function's parameter, saying "Argument name should be lowercase". (weak, code smell) ... PEP-008: makes no mention, and is but a guide any

Re: Argument name should be lowercase

2022-11-11 Thread Chris Angelico
On Sat, 12 Nov 2022 at 06:42, Stefan Ram wrote: > > "Weatherby,Gerard" writes: > >I'd personally find it weird to see an all-cap parameter > > In the source code of the standard library, all-caps > notation is used for a parameter name sometimes > if that parameter name is "URL" or sometime

Re: Argument name should be lowercase

2022-11-11 Thread Weatherby,Gerard
ber 11, 2022 at 3:56 AM To: 'Python' Subject: Argument name should be lowercase *** Attention: This is an external email. Use caution responding, opening attachments or clicking on links. *** PyCharm is warning against using an identifier of all upper-case letters as a function'

Re: Argument name should be lowercase

2022-11-11 Thread MRAB
On 2022-11-11 08:54, dn wrote: [snip] The module's function definition is: def build_product_prices_dictionary( WORKBOOK_DEFINITIONS:dict )->dict: ... price_array = xl.iget_array( file_name=WORKBOOK_DEFINITIONS[ "file_name" ], ... (the function def is flagged, as abov

Re: Argument name should be lowercase

2022-11-11 Thread Thomas Passin
ld also be in line with what many other programmers are used to reading, and that's a positive advantage. On 11/11/2022 3:54 AM, dn wrote: PyCharm is warning against using an identifier of all upper-case letters as a function's parameter, saying "Argument name should

Re: Argument name should be lowercase

2022-11-11 Thread Weatherby,Gerard
parameters as lowercase. I’d personally find it weird to see an all-cap parameter (Why are you yelling?). I expect ALL_CAPS to be hardcoded values. From: Python-list on behalf of dn Date: Friday, November 11, 2022 at 3:56 AM To: 'Python' Subject: Argument name should be lowercase ***

Argument name should be lowercase

2022-11-11 Thread dn
PyCharm is warning against using an identifier of all upper-case letters as a function's parameter, saying "Argument name should be lowercase". (weak, code smell) The application consists of three+ files: - configuration - mainline script - module of workbook functions The mai