Hello!

Is it currently possible with Flake8 or any of its plugins to enforce the code 
to use keyword arguments in function calls, when the function is imported from 
a module/library? At least flake8-functions does not support this.

If not, I would like to request this (most likely best suited as optional) rule 
to be added. My motivation is that it would make code more readable, as one 
would understand the role of the passed variables better without checking the 
target function or its documentation.

Example:

from foo import bar

baz = ""
bar(baz=baz) # Allowed
bar(baz) # Not allowed

Thank you for your time and all the work you do regarding Flake8.

Markus
_______________________________________________
code-quality mailing list -- code-quality@python.org
To unsubscribe send an email to code-quality-le...@python.org
https://mail.python.org/mailman3/lists/code-quality.python.org/
Member address: arch...@mail-archive.com

Reply via email to