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

refactor: Enable and fix PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument) #1766

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

ayush571995
Copy link
Contributor

Fixing the pylint errors for
'C0305', # trailing-newlines
'C0324', # superfluous-parens
'C0410', # multiple-imports
'E0213', # no-self-argument

Copy link
Member

@buhtz buhtz left a comment

Choose a reason for hiding this comment

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

Hello Ayush,
thank you again for your contribution and taking the time to improve Back In Time. We appreciate it.

Just add some minor suggestions.

Can you also add an entry to the CHANGES file please.

* Build: Enable PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument)

And if you want you could also sort the enabled error codes in the two test_lint.py files in their lexicographical order.

Best,
Christian

common/test/test_config_crontab.py Outdated Show resolved Hide resolved
common/cli.py Outdated Show resolved Hide resolved
@buhtz buhtz changed the title 4 pylint fixes refactor: Enable and fix PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument) Jun 15, 2024
@buhtz buhtz self-assigned this Jun 15, 2024
@buhtz buhtz added the PR: Modifications requested Maintenance team requested modifications and waiting for their implementation label Jun 15, 2024
@ayush571995
Copy link
Contributor Author

ayush571995 commented Jun 15, 2024

Hello Ayush, thank you again for your contribution and taking the time to improve Back In Time. We appreciate it.

Just add some minor suggestions.

Can you also add an entry to the CHANGES file please.

* Build: Enable PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument)

And if you want you could also sort the enabled error codes in the two test_lint.py files in their lexicographical order.

Best, Christian

Done

@ayush571995 ayush571995 reopened this Jun 15, 2024
@ayush571995
Copy link
Contributor Author

All messages have been replied

@buhtz buhtz added PR: Merge after creative-break Merge after creative-break (min. 1 week) and removed PR: Modifications requested Maintenance team requested modifications and waiting for their implementation labels Jun 15, 2024
@buhtz buhtz merged commit 51ff9cf into bit-team:dev Jun 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Merge after creative-break Merge after creative-break (min. 1 week)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants