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

docs: delete redundant comments #64

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

lukany
Copy link
Contributor

@lukany lukany commented Aug 7, 2023

The sorting of imports follows best practices
(standard, third-party, internal) which is also enforced by running
isort in CI.
Having these comments in every module is thus redundant and only
unnecessarily increases lines of code in each module.
Also, it can potentially lead to inconsistency when creating new
modules — one can easily forget to put these comments in new modules.

@lukany lukany self-assigned this Aug 7, 2023
@lukany lukany requested a review from mbelak-dtml August 7, 2023 13:28
The sorting of imports follows best practices
(standard, third-party, internal) which is also enforced by running
isort in CI.
Having these comments in every module is thus redundant and only
unnecessarily increases lines of code in each module.
Moreover, at some places the comment was misplaced,
e.g. in `edvart/report_sections/dataset_overview.py` the comment
about internal imports was in between the imports.
@lukany lukany force-pushed the docs/delete-unnecessary-comments branch from c49162e to af05d92 Compare August 7, 2023 14:22
@mbelak-dtml mbelak-dtml added this pull request to the merge queue Aug 7, 2023
Merged via the queue into main with commit 2221acf Aug 7, 2023
5 checks passed
@mbelak-dtml mbelak-dtml deleted the docs/delete-unnecessary-comments branch August 7, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants