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

Zharktas py3 to qld gov au wip #4

Open
wants to merge 55 commits into
base: develop
Choose a base branch
from

Conversation

duttonw
Copy link
Member

@duttonw duttonw commented Feb 12, 2021

may need to re-introduce items which got removed from merging zharktas's work

@duttonw duttonw requested a review from ThrawnCA February 12, 2021 05:46
'are_some_results': are_some_results})


def make_csv_from_dicts(rows):
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to lib.py

return csvout.read()


def ensure_data_is_dicts(data):
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to lib.py

del data['columns']


def anonymise_user_names(data, organization=None):
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to lib.py

@ThrawnCA
Copy link

Shouldn't this go to develop rather than master?

Copy link

@ThrawnCA ThrawnCA left a comment

Choose a reason for hiding this comment

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

Please change target branch to develop.

@duttonw duttonw changed the base branch from master to develop February 12, 2021 06:32
@duttonw
Copy link
Member Author

duttonw commented Feb 12, 2021

Please change target branch to develop.

Changed

ckanext/report/helpers.py Outdated Show resolved Hide resolved
# 'name': 'feedback-report',
# 'option_combinations': nii_report_combinations,
# 'generate': nii_report,
from builtins import str
Copy link

Choose a reason for hiding this comment

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

This should use six

Copy link

@ThrawnCA ThrawnCA left a comment

Choose a reason for hiding this comment

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

This won't currently work on Python2; it needs to use 'six' more.

- make Flake8 happy
- use 'six' to improve Python 2/3 compatibility
@duttonw
Copy link
Member Author

duttonw commented Jun 1, 2021

still have lots of tests failing, can you rebase this to develop @ThrawnCA

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