Skip to content

Conversation

@CyclingNinja
Copy link
Member

No description provided.

factor = np.asarray(factor)
new_grids = []
for c, d, f in zip(offset, cube_shape, factor):
for c, d, f in zip(offset, cube_shape, factor, strict=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate this isn't set to true automatically.

@nabobalis
Copy link
Member

I did not expect that like 90% of the auto changes are just double quotes.

@nabobalis
Copy link
Member

The output from ruff was so much it had to be truncated.

Let me run it locally and paste the output here.

@CyclingNinja
Copy link
Member Author

The output from ruff was so much it had to be truncated.

Let me run it locally and paste the output here.

It is expensive

@nabobalis
Copy link
Member

The full output from ruff is over 4000 lines.

I would say the vast majority fall under:

SLF001 Private member accessed
D102 Missing docstring in public method (and other doc ones like D105 etc)

We can skip these for test files for sure.

@nabobalis
Copy link
Member

The changes needed to fix this aren't hard, but it will take a while and it's boring.

@CyclingNinja
Copy link
Member Author

The output from ruff was so much it had to be truncated.

Let me run it locally and paste the output here.

It is expensive

The changes needed to fix this aren't hard, but it will take a while and it's boring.

Preach, I'm not sure how else we could do this though?

@nabobalis
Copy link
Member

The changes needed to fix this aren't hard, but it will take a while and it's boring.

Preach, I'm not sure how else we could do this though?

Either we wait for ruff to autofix them, or someone has to fix it.

@Cadair
Copy link
Member

Cadair commented Oct 29, 2024

I am much more in favour of picking our lints carefully than doing this fwiw.

@nabobalis nabobalis closed this Nov 12, 2024
@nabobalis
Copy link
Member

Closing in favor of #773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants