You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering whether there is a good motivation for the flake8 ignore settings and whether people would be open to use the flake8 defaults instead, or maybe a smaller set of ignores instead.
I am aware this is a bit of a bikeshedding issue, but I think that this is better to discuss this when the project is young than later down the line.
I ran flake8 with the default settings and there are eight flake8 violations which are super easy to fix (if you are curious the winner is E265 block comment should start with '# ' which to me is not very controversial).
I had a quick look and from what I can tell, the flake8 ignore settings of some projects in the dask organization projects are copied from the dask/dask one. I found this was introduced in dask/dask#1464 and it does not look like there is a strong motivated reason behind it. Some projects have drifted a bit off like dask-ml and dask-kubernetes.
No strong thoughts from me personally.
I think that style settings should be determined by people who tend to
maintain the project. In this case that seems to be you @lesteve (along
with others like @jhamman and @jakirkham) so your preferences should
probably determine what this project does in regards to style.
Changing style in dask/dask or dask/distributed is also doable but will
likely require more discussion. If that is your goal (which seems
reasonable for consistency) then I recommend raising an issue on the
dask/dask issue tracker.
On Wed, Apr 18, 2018 at 3:49 AM, Loïc Estève ***@***.***> wrote:
I was wondering whether there is a good motivation for the flake8 ignore
settings and whether people would be open to use the flake8 defaults
instead, or maybe a smaller set of ignores instead.
I am aware this is a bit of a bikeshedding issue, but I think that this is
better to discuss this when the project is young than later down the line.
I ran flake8 with the default settings and there are eight flake8
violations which are super easy to fix (if you are curious the winner is E265
block comment should start with '# ' which to me is not very
controversial).
I had a quick look and from what I can tell, the flake8 ignore settings of
some projects in the dask organization projects are copied from the
dask/dask one. I found this was introduced in dask/dask#1464
<dask/dask#1464> and it does not look like there
is a strong motivated reason behind it. Some projects have drifted a bit
off like dask-ml and dask-kubernetes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszH_LZy31VJo3rVQzn0Pe_E0cWdMuks5tpvALgaJpZM4TZlM_>
.
Changing style in dask/dask or dask/distributed is also doable but will likely require more discussion.
Just for completeness, I did not really have this in mind for now. The main reason I looked at other dask-related projects to gauge whether they was some commonly agreed flake8 setup.
Just for clarity sake and only talking about dask-jobqueue, I have no major annoyances with the default flake8 ignore settings, does someone have any @jhamman@jakirkham@mrocklin ?
Activity
mrocklin commentedon Apr 18, 2018
[-]flake8 igore configuration[/-][+]flake8 ignore configuration[/+]lesteve commentedon Apr 18, 2018
Just for completeness, I did not really have this in mind for now. The main reason I looked at other dask-related projects to gauge whether they was some commonly agreed flake8 setup.
mrocklin commentedon Apr 18, 2018
lesteve commentedon Apr 19, 2018
Just for clarity sake and only talking about dask-jobqueue, I have no major annoyances with the default flake8 ignore settings, does someone have any @jhamman @jakirkham @mrocklin ?
jhamman commentedon Apr 19, 2018
I do not have strong feelings on this one. If I had to choose, I would probably mirror the settings in
distributed.guillaumeeb commentedon Apr 20, 2018
If there is no dask standard config, my point of view is to stick with flake8 default one, adding exceptions only when necessary.