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

'six' package dependency removed #371

Merged
merged 2 commits into from
Nov 12, 2020
Merged

'six' package dependency removed #371

merged 2 commits into from
Nov 12, 2020

Conversation

jerinpetergeorge
Copy link
Contributor

Type of PR (feature, enhancement, bug fix, etc.)

enhancement

Description

Removed six package dependency and cleaned the codebase.

Fixes #370

Checklist

  • Tests are passing
  • Documentation has been added or amended for this feature / update

Comment on lines 9 to 10
from dbbackup.db.postgresql import (PgDumpBinaryConnector, PgDumpConnector,
PgDumpGisConnector)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think you could keep the format as before as that is easier to read?

Suggested change
from dbbackup.db.postgresql import (PgDumpBinaryConnector, PgDumpConnector,
PgDumpGisConnector)
from dbbackup.db.postgresql import (
PgDumpBinaryConnector,
PgDumpConnector,
PgDumpGisConnector
)

Comment on lines 4 to 5
from __future__ import (absolute_import, division, print_function,
unicode_literals)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here.

Suggested change
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from __future__ import (
absolute_import,
division,
print_function,
unicode_literals
)

callable_for_filename_template,
DEV_NULL, add_public_gpg)
clean_gpg_keys)
Copy link
Contributor

Choose a reason for hiding this comment

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

And change the formatting here as well.

@jonathan-s
Copy link
Contributor

Thanks a lot for making these changes!

@jerinpetergeorge
Copy link
Contributor Author

Thanks for the suggestion and will make the changes asap.

BTW, I used the isort package to sort the imports. IMHO, we should add some kind of config file so that we can keep unified formatting rules across the repository/package. And later, the pipeline will take care of the checks

@jerinpetergeorge
Copy link
Contributor Author

I hope everything is fine now, isn't it?

@jonathan-s jonathan-s merged commit d241bc2 into jazzband:master Nov 12, 2020
@jonathan-s
Copy link
Contributor

Thanks a lot @jerinpetergeorge

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.

Remove six
2 participants