-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
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
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
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'
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
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
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
***
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