Long-term global pylint
ignores
#470
Replies: 8 comments 14 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I believe that we decided to ignore |
Beta Was this translation helpful? Give feedback.
-
We decided that we would ignore # TODO (#[issue number]): This is what needs to be done |
Beta Was this translation helpful? Give feedback.
-
It makes sense to keep |
Beta Was this translation helpful? Give feedback.
-
I agree with your suggested exceptions. And looking at the current global exceptions (whoah, what a list!) I cannot come up with any more. If I remember correctly from the last software meeting, the plan was to move the to-be-removed global exceptions to the tox.ini (and make them per-module exceptions) which are then removed module-per-module. I wouldn't be surprised if many of these global ignores are already superfluous. |
Beta Was this translation helpful? Give feedback.
-
@pnkraemer Let's maybe discuss your proposal #523 (comment) here for documentation pruposes:
|
Beta Was this translation helpful? Give feedback.
-
@pnkraemer Let's maybe discuss your proposal #523 (comment) here for documentation pruposes:
|
Beta Was this translation helpful? Give feedback.
-
@mmahsereci and I noticed that the combination of Python type hints and the We agreed that the correct (that is to say backward compatible w.r.t.
i.e. simply omitting the type of parameters, returns, and yields, but still keeping the colon in returns and yield (though not for parameters). This way, we can distiguish between However, since this is not covered by the |
Beta Was this translation helpful? Give feedback.
-
In order to close #469, we should discuss which global
pylint
ignores should be retained long-term.The results of the discussion should be summarized concisely in this first post.
Long-term
pylint
ignoresAdditional long-term
pylint
ignores for the testsAdditional custom
pylint
configurationtoo-many-arguments
threshold from 5 (default) to 10too-many-locals
threshold from 15 (default) to 20, since arguments count as localsmissing-return-doc
andmissing-yield-doc
until a missing feature innumpydoc
,pylint
, andsphinx.ext.napoleon
is implemented (see this thread)We can leverage the comment threads to have one structured thread for each potential ignore.
Now discuss :) @JonathanWenger @pnkraemer @mmahsereci @alpiges
Beta Was this translation helpful? Give feedback.
All reactions