[ckan-changes] [ckan/ckan] 1c779a: Improvement according to C406 flake8 comprehension...

David Read noreply at github.com
Fri Nov 8 21:42:39 UTC 2019


  Branch: refs/heads/py3-map
  Home:   https://github.com/ckan/ckan
  Commit: 1c779ae92f856ec0dd9a124cd00826de4107340d
      https://github.com/ckan/ckan/commit/1c779ae92f856ec0dd9a124cd00826de4107340d
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M ckan/tests/legacy/lib/test_resource_search.py

  Log Message:
  -----------
  Improvement according to C406 flake8 comprehension rule

C406 Unnecessary (list/tuple) literal - rewrite as a dict literal.


  Commit: 898be8c9486bdb151e4e9823a9cce66b10c37d3e
      https://github.com/ckan/ckan/commit/898be8c9486bdb151e4e9823a9cce66b10c37d3e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M ckan/tests/helpers.py

  Log Message:
  -----------
  Improvement according to C409 flake8 comprehension rule

C409 Unnecessary (list/tuple) passed to tuple() - (remove the outer call to tuple()/rewrite as a tuple literal).


Compare: https://github.com/ckan/ckan/compare/3265c096429e...898be8c9486b


More information about the ckan-changes mailing list