Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint with ruff #654

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Lint with ruff #654

merged 1 commit into from
Jan 30, 2024

Conversation

mferrera
Copy link
Collaborator

No description provided.

@mferrera mferrera self-assigned this Jan 29, 2024
@mferrera mferrera force-pushed the to-ruff branch 3 times, most recently from 6f7ebb0 to 4d38837 Compare January 29, 2024 14:32
@mferrera mferrera marked this pull request as ready for review January 30, 2024 07:09
@mferrera mferrera requested review from alifbe and rnyb January 30, 2024 07:09
@@ -71,7 +70,7 @@


def read_pdm_csv_files(
csvfiles: Union[pd.DataFrame, str, List[str], List[pd.DataFrame]]
csvfiles: Union[pd.DataFrame, str, List[str], List[pd.DataFrame]],
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mferrera interesting that ruff add comma here. Do you know why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If I had to guess, it's just because it's easier to add things afterward... and also to indicate to formatters that this should indeed by a multi-line list and not inline

Copy link
Collaborator

@alifbe alifbe left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@mferrera mferrera merged commit 4dcd72a into equinor:main Jan 30, 2024
6 checks passed
@mferrera mferrera deleted the to-ruff branch January 30, 2024 07:34
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.

2 participants